commit 5df2d76ebacb10158cd21f0bbed06d235dea3031
parent 0addee262f9362d2a6fc5347722cc19e0208be81
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Fri, 4 Oct 2013 00:44:19 +0200
evince latex sync stuff, remove useless shortcut, synmaxcol
Diffstat:
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -4,6 +4,8 @@ call pathogen#helptags()
" personal stuff
source ~/.vim/perso
+set synmaxcol=200
+
set nocompatible
set autoindent
@@ -55,17 +57,24 @@ set viminfo='100,n~/.viminfo
set tw=80
-map <C-q> {gq}
map ZW :w<CR>
map ZM :w<CR>:make<CR>
map ZO :CommandT<CR>
map ZB :CommandTBuffer<CR>
+
:nnoremap <F8> :setl noai nocin nosi inde=<CR>
:cnoreabbrev W w
+" map c :CommandTBuffer<CR>
+
+" TODO don't steal focus
+map ZE :exe "silent !my_evince_forward_search " . expand("%:p") . " " . line(".") . "&"<CR><C-l>
+
+" TODO a mapping to reindent decently
+
set nojoinspaces
set showcmd
set matchpairs+=<:>