summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 13c7137..e846a95 100644
--- a/.vimrc
+++ b/.vimrc
@@ -110,7 +110,7 @@ highlight RedundantSpaces ctermbg=red guibg=red
" =======================
" autocommand definitions
" =======================
-au BufRead *COMMIT_EDITMSG set spell spelllang=en
+au BufRead *COMMIT_EDITMSG set spell spelllang=en textwidth=80
" ===========
" key hacking
@@ -177,6 +177,7 @@ nnoremap <C-k> <C-W>k
nnoremap <C-l> <C-W>l
"reselect just pasted text
+"the same thing does gv command in normal mode
nnoremap <leader>p `[V`]
"edit operations