summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vimrc20
1 files changed, 10 insertions, 10 deletions
diff --git a/.vimrc b/.vimrc
index 14137ef..439cbb5 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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>