Posts Tagged ‘keyboard1337’

Experimenting with setting up a new machine every third month

April 3rd, 2019

I am currently experimenting with using a virtual machine for my development. I have earlier done it through OSX/Parallels but now I am trying a Win/Win solution with Hyper-V.

Every third month, that is for how long the license is valid, I do a Hyper-V Manager->Quick create->Windows 10 dev environment.

The mandatory screen shot.

It comes with Visual studio and some dotnet preinstalled. All I have to do is start VS and tell it to update itself, and update dotnet core, and start VS installer and update with Web and Azure and whatnot I need for developing.

Then I need Git, Notepad++, VSCode, Keyboard1337 and BecerroInamovible. Ergo I need Chocolatey too.

Here is how I do it

Fire up a console with elevated priveges.

Window-button, cmd, ctrl-shift-enter. Enter.


1
Window-button, cmd, ctrl-shift-enter. Enter.

Install Chocolatey.


1
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

Restart console.

I have checked that all chocolatey packages I reference are “trusted package”. I cannot know if they packages remain “trusted package” at the time you are reading this. The choice is yours.


1
2
Exit. Enter.
Window-button, cmd, ctrl-shift-enter. Enter.

Install Git.


1
choco install git.install

Install Notepad++.


1
choco install notepadplusplus.install

Install VSCode.


1
choco install vscode

Install Powershell 6


1
choco install powershell-core

Install Posh-Git


1
2
PowerShellGet\Update-Module posh-git
Add-PoshGitToProfile -AllHosts

Install Keyboard1337.

(there is a installation version where I clone the git repo to get the stuff on my drive and work from there; but here is another version)

Download Keyboad 1337.zip. Unblock. Unpack. Install.
Run Keyboard 1337\l337\setup.exe (yupp. there’s a typo there)
Language preferences -> Keep English(Sweden) and English(United States). The latter is Keyboard1337

BecerroInamovible

It has a dependency on Autohotkey.


1
choco install autohotkey

Copy contents of https://raw.githubusercontent.com/LosManos/keyboard1337/master/BecerroInamovible.ahk to C:\DATA\PROJEKT\Keyboard1337

As an alternative do “git clone https://github.com/LosManos/keyboard1337.git”

As short as possible:


1
choco install git.install -y && choco install notepadplusplus.install -y && choco install vscode -Y && choco install powershell-core -y && choco install autohotkey -y

Start a new console


1
2
PowerShellGet\Update-Module posh-git
Add-PoshGitToProfile -AllHosts

1
2
3
4
5
mkdir c:\DATA
mkdir c:\DATA\PROJEKT
pushd c:\DATA\PROJEKT
git clone https://github.com/LosManos/keyboard1337.git
"c:\Program Files\AutoHotkey\AutoHotkeyU64.exe" c:\DATA\PROJEKT\keyboard1337\BecerroInamovible.ahk

Keyboard 1337 – a better developer keyboard

March 31st, 2012

I have created a better Windows keyboard layout for developers.  It is very similar to the US keyboard but with a few tweaks that makes it nicer to work with.  For a regular US keyboard user the only difference is less pressing of the shift key.

Keyboard 1337 layout, without any modifier key.

Download it here, of course as open source.

Longer story:

The US keyboard is a good working start for a better developer keyboard since most languages are created for the US layout.

Symbols often need shift to be pressed.
As developers we often press ( and ) and = and @ and the other symbols at the top row, but to reach them we need to press shift.  That is a total waste.  So I switched them.  With Keyboard 1337 you instead press shift to reach the figures.  Or use the num pad.

Alt-gr-\
Swedish developers have a problem with the keyboard layout.  For instance backslash “\” is reached through “alt-gr”, a button to the right of the space bar and then 7.  There is no good way to press those two buttons without hand gymnastics.  My solution is to switch to US layout.

ÅÄÖ
I need ÅÄÖ and instead of switching keyboard every time I need one of those letters I put them in their regular place but activated with alt-gr.  A solution that works better than it sounds.

Physics
The physical keyboard layout doesn’t change due to installing a new keyboard layout so you have to have a bit of fantasy or switch the plastic keys if possible.