diff options
author | Urbain Vaes <urbain@vaes.uk> | 2014-11-26 11:40:31 +0000 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2014-11-26 11:40:31 +0000 |
commit | d692cc3c601fde0199cfd1f42fd4ee476de09671 (patch) | |
tree | 2a489a344a09da38250ee9b9435e2100c66f1bdd /vim/vimrc | |
parent | be04d325d549821fa83dec456b1e8a588176fd98 (diff) |
nothing special
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -71,8 +71,6 @@ nnoremap <F5> :GundoToggle<cr> " Nerdtree nnoremap <F3> :NERDTreeToggle<cr> - - let NERDTreeIgnore=['\.pdf$', '\~$','\.toc$', \ '\.fls$','\.bbl$','\.blg$', \ '\.out$', '\.log$','\.aux$','\.sty$', @@ -117,7 +115,7 @@ set undodir=/home/urbain/.vimundo/ set nonumber set ruler set showcmd -set listchars=tab:▸\ ,eol:¬ +set listchars=tab:▸\ ,eol:¬,trail:- set fillchars=fold:\ ,vert:\ , set showbreak=... set colorcolumn=0 @@ -221,7 +219,7 @@ vnoremap g^ ^ "" Latex nmap <buffer> <F2> <Plug>LatexChangeEnv -let g:tex_fast="" +let g:tex_fast="" " Synctex function! LatexEvinceSearch() @@ -234,7 +232,7 @@ autocmd FileType tex map <F6> :silent LatexEvinceSearch <Return> autocmd Filetype tex call SetTexOptions() -"" Functions +"" Functions function! Tex_ForwardSearchLaTeX() let cmd = 'evince_forward_search ' . fnamemodify(LatexBox_GetMainTexFile(), ":p:r") . '.pdf ' . line(".") . ' ' . expand("%:p") let output = system(cmd) @@ -276,9 +274,8 @@ function! SetTexOptions() endfunction -"" Autocommands +"" Autocommands augroup autorelead_vimrc - au! + au! au BufWritePost ~/.vim/vimrc source ~/.vim/vimrc augroup END - |