From f172df3b9163de4b0b186c59153fa1c00c8e76de Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 23 Jul 2015 19:47:26 -0400 Subject: Vimrc update --- dot_vimrc | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'dot_vimrc') diff --git a/dot_vimrc b/dot_vimrc index 5d22cec..dc74cb3 100644 --- a/dot_vimrc +++ b/dot_vimrc @@ -23,6 +23,7 @@ set bg=dark set mouse=a set number +set relativenumber set smartindent set term=xterm-256color @@ -36,7 +37,7 @@ let g:sclangTerm = "urxvt -e" autocmd FileType tex setlocal spell spelllang=fr highlight SpellBad ctermfg=red ctermbg=none -let NERDTreeIgnore=['\.o$', '\.cmo$', '\.cmx$', '\.cmi$', '\.bin$', '\.lib$'] +let NERDTreeIgnore=['\.o$', '\.cmo$', '\.cmx$', '\.cmi$', '\.lib$', '\.pyc$'] set wildmode=list:longest @@ -59,11 +60,17 @@ nnoremap ml :call AppendModeline() -" set completeopt=menuone,menu,longest,preview +" indentation for long line wraps +set breakindent +let &showbreak = '> ' + -set exrc " per-directory .vimrc files -set secure " no unsafe commands in local .vimrc files +" set completeopt=menuone,menu,longest,preview +set directory=~/.vim/swp +set backupdir=~/.vim/backup +set undofile +set undodir=~/.vim/undo -- cgit v1.2.3