Search code examples
linuxubuntukeyboard-shortcuts

Keyboard shortcuts creation on Ubuntu


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 a easy way to do that?


Solution

  • Look at this:

    Map Ctrl-S to save current or new files

    Or this:

    How can I map "save" to Ctrl + S in Vim?

    Or this:

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