Ask HN: Vim/Emacs users, how do you deal with non-qwerty layouts?
To all the vim and emacs users, but also any other editor with some sort of keyboard shortcuts, how do you use your editor with non-qwerty layouts?
Specifically, for vim, do you press 'i' for insert mode, wherever 'i' is on your layout, or so you map the letter in the qwerty position of 'i' to be your go-to-insert-mode key? Do you use 'ctrl-x ctrl-f' to open a file on emacs with your layout's 'x' and 'f' or the letters in the qwerty 'x' and 'f' position?
11 comments
[ 2.7 ms ] story [ 34.9 ms ] threadIe. this is a non-problem, solved since 1984.
Qwerty is more reliable for development with more ease to reach special characters.
There are others though I'd have to think for a bit longer to list them all. In many cases my hands just seem to flow better.
NB: I was a touch typist with QWERTY (got to about 60wpm) before switching to Dvorak (peaked around 120wpm, around 100wpm these days). I do not attribute the increase to Dvorak specifically, but to literally not being able to see what letter I was pressing so I truly become a touch typist.
So no remappings so far.
When I started out I remapped the movement keys to give a more qwerty like layout. Eventually I decided to revert back to the standard Colemak layout.
The main reason was that I use vi movement keys everywhere that I can and whilst it was possible to remap hjkl in the shell (readline based apps can be remapped via ~/.inputrc) it's IMHO easier to adapt to the standard Colemak placement, then they'll work everywhere you do.
One thing that I do remap is <C-e> which is on home row, to provide a better ':'
map <C-e> : imap <C-e> <esc>:
If you remap anything in Vim you should know what you're loosing. In this case default <C-e> scrolls the screen down by 1 line and I think I can live without that to get to command mode quickly. It makes :w so fast especially when combined with Caps mapped to control and <C-m> as an alternative to the return key (provided as standard by the terminal)