DEV Community

Cover image for Kinesis Advantage for elixir and ruby developers

Kinesis Advantage for elixir and ruby developers

Mario Mazo
Some random dude
・3 min read

Keyboard remapping for elixir and ruby development on doom emacs or vim

I got the kinesis advantage 2 keyboard some time ago I have to say is money well spent. My wrist pain is now minimal. As I spend my days doing go and elixir I have fine tuned my keyboard to increase my productivity. Here I will share the layout I use while developing in elixir using doom emacs. But all the information here might as well apply to ruby and vim.

For this I have create a layer named e_querty.txt that way all I have to do is Progm+e to switch to elixir mode. The layer looks as follows:

thumb keys layout

I use a Mac so Im using the mac naming for the keys but you get the idea.

So I replicated Ctrl, Option, Command and Shift on both sides of the keyboard because as a doom emacs user with evil mode (vim style navigation) I need to have access to all letters and symbols while pressing Ctrl, Shift etc. and having them in only one side made some combos really hard to execute.
So at the end the thumbkeys look as the on the following picture

kinesis 2 mappings

Key remapping


So as I rarely use numbers in my normal workflow I decided to invert the numbers into the symbols (Shift+) to speed up navigation in emacs/vim. When I need a number I can use Shift+<symbol> to get the number.

Other keys

  • Since elixir is snake case I inverted - so now by default I get _
  • | is way more used than \ so also inverted those.
  • : is more used than ; so inverted as well
  • " more used than '... inverted
  • Esc replaced CapsLock for easy escaping

Layout file

Here is my e_qwerty.txt just drop it in you keyboards active directory and you will get the mapping

Enter fullscreen mode Exit fullscreen mode

closing remarks

  • why 4 shifts? no idea I have no use for those "external" shifts so I keep them there

  • Got some tips for the kinesis advantage, emacs/vim or elixir/ruby productivity? just comment

Discussion (0)