Reply to post:

Oh, the things Vim could teach Silicon Valley's code slingers

robin48gx

If you first used vi and are annoyed that vim does not go back into command mode

when you hit a cursor key put this in your .vimrc file.

For poeple who started using vi in the 1980's this makes vim usable.

"

" go back to command mode

" as soon as a curcor key is pressed

"

inoremap <left> <esc><left>

inoremap <right> <esc><right>

inoremap <up> <esc><up>

inoremap <down> <esc><down>

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019