Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vim keybindings with neo keyboard layout

This question is the same as this one, only regarding the (lesser known) neo keyboard layout instead of dvorak.

I want to start programming and I understand that vi and vim are considered to be highly productive editors for coding if used wisely. Now I'm using the neo keyboard layout and I wonder what keybindings for vim might be best suited for this layout. I don't want to learn to use vim, find out my keybindings don't work well and then I have to readjust my habits.

So to all of you who use vim + neo: How do you remap vim's keybindings to best work with neo?

(More generally: What are the things I should keep in mind when changing vim keybindings?)

like image 317
k.stm Avatar asked Dec 29 '12 10:12

k.stm


2 Answers

Generally, I wouldn't change the keybindings. The Vim commands work because by and large they're mnemonics. Just leave them alone and use them where they stand. I see that hjkl aren't so well laid out on that layout but you do seem to have cursor keys behind "Ebene 4" so if that's not too much trouble maybe that'd be ok. (I don't find myself using hjkl much anyway, I usually use other more direct jump movement commands.)

I'm a Dvorak layout user.

like image 106
dash-tom-bang Avatar answered Nov 04 '22 19:11

dash-tom-bang


More generally, as a VIM user but not a Neo user, I would generally mimic the VIM key layout onto your keyboard. Pay attention to which keys in VIM are under the resting positions of each finger and translate that onto Neo.

Keeping a traditional layout that is overlaid onto new keyboard layout will keep common keys under your resting finger positions. It will also build muscle memory that can be transferred to QWERTY when you need to work on a non-Neo keyboard.

like image 27
ZPH Avatar answered Nov 04 '22 18:11

ZPH