From b67e0995a5da29497d82ddfc151fd084730fef5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Mon, 9 Jun 2014 16:25:39 +0200 Subject: Add textwidth into COMMIT_MESSAGE buffer --- .vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 k nnoremap l "reselect just pasted text +"the same thing does gv command in normal mode nnoremap p `[V`] "edit operations -- cgit v1.2.3