diff options
author | Robin Obůrka <r.oburka@gmail.com> | 2014-05-28 09:55:14 +0200 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2014-05-28 09:55:14 +0200 |
commit | 089b41ca5d485c717b62aca8551befc7da224552 (patch) | |
tree | ab3e28f967e01fba5bf8f0f301c31a071adf0f1d | |
parent | List buffers with space (diff) | |
download | vim_sync-089b41ca5d485c717b62aca8551befc7da224552.tar.xz |
Use <cr> entity instead of keystroke <Enter> in vimrc
-rw-r--r-- | .vimrc | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -112,20 +112,20 @@ set <S-F3>=O1;2R " key mapping " =========== imap <Home> <esc>I -map <F2> :w<Enter> -imap <F2> <esc>:w<Enter>a +map <F2> :w<cr> +imap <F2> <esc>:w<cr>a map <F3> {gq} imap <F3> <esc>{gq}a map <S-F3> mmgggqG'm imap <S-F3> <esc>mmgggqG'ma -map <M-PageUp> :bp<Enter> -imap <M-PageUp> <Esc>:bp<Enter>a -map <M-PageDown> :bn<Enter> -imap <M-PageDown> <Esc>:bn<Enter>a -map <Space> :bn<Enter> -map <S-Space> :bp<Enter> -map <F12> :set textwidth=80<Enter> -map <S-F12> :set textwidth=0<Enter> +map <M-PageUp> :bp<cr> +imap <M-PageUp> <Esc>:bp<cr>a +map <M-PageDown> :bn<cr> +imap <M-PageDown> <Esc>:bn<cr>a +map <Space> :bn<cr> +map <S-Space> :bp<cr> +map <F12> :set textwidth=80<cr> +map <S-F12> :set textwidth=0<cr> "esc boost inoremap kj <ESC> |