Profile Picture

Assorted tech

Hi, my name is Spencer. I'm a CS graduate focused on systems programming, Linux, and low-complexity design. Other interests: metal, hiking, guitar, rationality.

feed | contact

Linux and Vim with a 60% Keyboard

Calendar icon December 12, 2020

Clock icon 2 min read

Folder icon #linux #software #vim #mechanical #keyboard #keybinds in tech

60% Keyboards

If you’ve never seen one before, a 60% keyboard looks like this: Keyboard This is the keyboard (DZ60) I built many months ago as my old one, an exposed circuit board susceptible to air drafts, stopped working.

Having unlabelled keycaps and using a tiling window manager (bspwm) greatly increases the security of my workstation:

Linux

I was expecting to have to do some adjusting but didn’t need to. Nothing actually changed here, except that now that key is also ESC and grave. The layout looks this: Keyboard Layout

I also used the arrow keys to navigate shell history. The layout I use has a “layer switch” key on the bottom row where the “context” key usually is. If I want to type arrow keys, I hold that key and use h,j,k,l as if I were in Vim. The same key turns the ESC key into grave.

Vim

ESC is used frequently for switching modes in Vim. Using a 60% keyboard is actually better for Vim in my opinion, because ESC is closer, being to the immediate right of 1.

Conclusion

I don’t have any problems with Vim or Linux using a 60% keyboard. The only thing missing is a numpad, which I replace with the buttons on the side of a Logitech G600 using Piper to configure its bindings.

Comments