" Unbind the cursor keys in insert, normal and visual modes. for prefix in ['i', 'n', 'v'] for key in ['<Up>', '<Down>', '<Left>', '<Right>'] exe prefix . "noremap " . key . " <Nop>" endfor endfor
" Unbind the cursor keys in insert, normal and visual modes. for prefix in ['i', 'n', 'v'] for key in ['<Up>', '<Down>', '<Left>', '<Right>'] exe prefix . "noremap " . key . " <Nop>" endfor endfor
§
Why? The cursor keys work and are a lot more intuitive. Why unlearn a habit? If you'll answer "less motion for your hands" I suggest you assess your use of the keyboard and whether moving the hand a bit more is actually bad...
Martin F. Krafft
— lamby
Just the scripts I was looking for! Time to kick an old, uneffective habit.
Tuomas