Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim Ctrl-Left/Ctrl-Right keys behaviour

Tags:

vim

Is it possible to specify the symbols where cursor will stop after pressing CtrlLeft/CtrlRight keys in VIM? Is it possible to make it's behaviour like in windows? Cursor jumps too far when using these combinations. Also, b/e keys help a bit but they make cursor to jump to shorter distance. Thanks.

like image 776
igorp1024 Avatar asked Oct 02 '09 14:10

igorp1024


1 Answers

I'd recommend to use the vim-typical commands like w/W/b/B/e/E/ge/gE/f/F/t/T instead of the arrow keys. The arrow keys are far away from your keyboard home row and will slow you down.

More help on important movement commands:

:h word-motions
:h object-motions
:h left-right-motions
like image 161
kongo2002 Avatar answered Oct 16 '22 01:10

kongo2002