diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-10-10 07:58:26 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-10-10 07:58:26 -0300 |
commit | d85493f52892905e08bbf5c5c310a391fe159051 (patch) | |
tree | eb1eb52acdd03365ad5dd21d8444188283fb4aee | |
parent | 6ff8481c7e6ee05c353ac46f11be85d877a0eb8e (diff) | |
download | vim-d85493f52892905e08bbf5c5c310a391fe159051.tar.gz vim-d85493f52892905e08bbf5c5c310a391fe159051.tar.bz2 |
Adds ESC key into some key combos
-rw-r--r-- | vimrc.dot.link | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vimrc.dot.link b/vimrc.dot.link index 54806ee..205a924 100644 --- a/vimrc.dot.link +++ b/vimrc.dot.link @@ -124,10 +124,10 @@ nmap <ESC>n :tabnew<CR> "map q :wqa <CR> map c :wqa <CR> map f :wq <CR> -"map c :tabclose <CR> +"map c :tabclose <CR><ESC> map e :tabclose <CR> -map m :q! <CR> -map w :w <CR> +map m :q! <CR><ESC> +map w :w <CR><ESC> " Write, quit and close shortcuts using Ctrl-key combos " We're using these due to a conflict with wyrd(1) @@ -241,10 +241,10 @@ map Od :bprevious<CR> map Oc :bnext<CR> " Window navigation -map <Left> <C-w><Left> -map <Right> <C-w><Right> -map <Down> <C-w><Down> -map <Up> <C-w><Up> +map <Left> <C-w><Left><ESC> +map <Right> <C-w><Right><ESC> +map <Down> <C-w><Down><ESC> +map <Up> <C-w><Up><ESC> " See " http://vim.wikia.com/wiki/Have_Vim_check_automatically_if_the_file_has_changed_externally |