cod*_*001 0 keyboard vim key-bindings
我最近迁移到Vim。但是由于我现有的箭头键的肌肉记忆能力,我很难使用“ hjkl”键进行导航。
1.有没有一种方法可以有效地使用“ ijkl ”之类的其他键(靠近箭头键布局),而又不会与VIM中的其他功能造成太多冲突,例如:http : //vim.wikia.com/wiki/Use_ijkl_to_move_the_cursor_and_h_to_insert 和http ://ergoemacs.org/misc/on_vi_keybinding.html
2. 用“ hjkl”重新训练肌肉记忆是否值得努力?但是问题是,我必须在Web浏览器,Outlook和文字处理器中再次使用箭头键 (因此,这种转变引起了冲突)。
您能否建议(对#2感兴趣),您是如何处理的?
我已经使用Vim五年了(在计算机使用了许多年之后),却没有做任何有意识或无意识的尝试来使用HJKL导航。
jkl;反正还是更有道理的。hjkl就像箭头一样糟糕,因为除非使用修饰符(箭头的数字hjkl和Ctrl/ Shift/ Alt/)Cmd,否则它们都只能逐字符和逐行移动。Vim的交通方式比hjkl箭头或箭头要好得多,这是您应该花时间学习的内容:
wW jump to next word/WORD
bB jump to beginning of word/WORD
eE jump to end of word/WORD
fx jump to next x on the line
tx jump to character just before next x on the line
Fx jump to previous x on the line
Tx jump to character just before previous x on the line
/foo<CR> jump to next foo
?bar<CR> jump to previous bar
} jump to next blank line
Run Code Online (Sandbox Code Playgroud)等等…… :h navigation会让您大吃一惊。
因此,我的答案是:不要费心强迫自己使用hjkl它,这不值得麻烦。