0

I'm trying to create a keyboard shortcut to save my file in vim, so I would like to map control alt S to ESC, :, w, ENTER, a. Is there any easy way to do that?

matts1
  • 857
  • 1
  • 9
  • 20

1 Answers1

2

Look at this :

http://vim.wikia.com/wiki/Map_Ctrl-S_to_save_current_or_new_files

Or this:

In vim how to map "save" to ctrl-s

Or this:

http://sigttou.com/vim-ctrl-s

Community
  • 1
  • 1
TOC
  • 4,326
  • 18
  • 21