diff options
| author | Miquel Sabaté <mikisabate@gmail.com> | 2013-12-02 11:26:52 +0100 |
|---|---|---|
| committer | Miquel Sabaté <mikisabate@gmail.com> | 2013-12-02 11:26:52 +0100 |
| commit | c558ab1d4a0122d7967847a216059dd2d1a8b8ba (patch) | |
| tree | 56b1274632bb09c755314c200d33254d6599c51f | |
| parent | bb2fe99cad6fe5fa968014f44da964ba1c0859fe (diff) | |
| download | dotfiles-c558ab1d4a0122d7967847a216059dd2d1a8b8ba.tar.gz dotfiles-c558ab1d4a0122d7967847a216059dd2d1a8b8ba.zip | |
vim: Added the Ctrl+S shortcut.
| -rw-r--r-- | vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -34,5 +34,11 @@ autocmd FileType c set shiftwidth=4 tabstop=4 autocmd FileType yacc set shiftwidth=4 tabstop=4 autocmd FileType go set shiftwidth=4 tabstop=4 +" " Re-mappings +" + let mapleader = "," + +" Control + S in insert mode: switch to normal mode and write to disk. +inoremap <C-S> <ESC>:w<CR> |
