diff options
Diffstat (limited to 'dot_vimrc')
-rw-r--r-- | dot_vimrc | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -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 <silent> <Leader>ml :call AppendModeline()<CR> -" 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 |