Skip to content

Vim remap ex-mode key

I’ve become in the habit to miss shift-a in vim (edit at end of line), and instead pressing shift-q which brings you to the ex-mode. To get out of that, you need to type the command “visual“. Quite long and annoying.

Quick look at the help pointed me to the vimrc_example.vim (:help vimrc_example.vim). And this nifty remap:

map Q gq

Problem solved!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Reddit

Post a Comment

Your email is never published nor shared. Required fields are marked *