Programmer's VIM setup for Finnish/Swedish or other non-US keyboard layout

前端 未结 6 1442
你的背包
你的背包 2021-02-01 02:43

I\'ve been recently learning some VIM hackery and I have learned a lot of useful commands and gotten pretty efficient at editing text with VIM. I\'m using the Finnish qwerty key

6条回答
  •  猫巷女王i
    2021-02-01 03:18

    My solution for this was that I made a custom keyboard layout, which combines the best aspects of the US layout in to the Finnish one. The nice thing about it is that it keeps the changes to a minimum so that the learning curve is practically non-existent.

    The philosophy behind it was to minimise the need to use AltGr, and still keeping it as close to the standard Fin layout as possible. And even though there are some keys under AltGr, you never have to press them awkwardly with your right hand while holding the modifier with your thumb.

    The programs I used to make the layout were Ukelele for macOS and Microsoft Keyboard Layout Creator for Windows. I'm calling it Finner.keylayout / Finner.klc. Here's its GitHub repo: https://github.com/ruohola/finner

    Here's the basic layout (it has a lot more keys under modifiers) with the changed keys highlighted:

提交回复
热议问题