![]() ![]() " small 'o' letter in means no exit from the insert mode So pressing Option+Right ( Alt+Right) will move the caret to the next character after the word (as opposed to the last character of the word, which is VIMs w native bahavior). I've tried to mimic the behavior of Terminal's moving around as close as I could get. My tweaked version below includes the Option+arrow (or Alt+arrow) navigation on words. The answer on SU shows what to put into your vimrc file for the Home/End keys to work as expected. The idea is to map input provided by the Terminal.app directly in VIM. That's why I came up with a solution based on this answer on SuperUser. Especially the part where you need to switch between insert mode and normal mode just to move to the next word. Some may argue that moving around with VIM native keyboard shortcuts is not a workaround, but for me it sure is both very inconvenient and very inefficient.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |