Show line numbers, configure NERDTree and tagbar, fix spelling mistake
This commit is contained in:
parent
c43f68f0ff
commit
d7d30289cb
17
.vimrc
17
.vimrc
|
@ -94,7 +94,7 @@ if has('langmap') && exists('+langnoremap')
|
|||
" compatible).
|
||||
set langnoremap
|
||||
endif
|
||||
" Use W to call sudo to write a read-only file with elevated privaliges
|
||||
" Use W to call sudo to write a read-only file with elevated privileges
|
||||
command W :execute ':silent w !sudo tee % > /dev/null' | :edit!
|
||||
au BufRead /tmp/mutt-* set tw=72
|
||||
|
||||
|
@ -114,3 +114,18 @@ let c_space_errors = 1
|
|||
" This can be disabled with :e ++ff=dos
|
||||
set fileformats=unix
|
||||
|
||||
" Show line numbers
|
||||
set number
|
||||
highlight LineNr ctermfg=darkgrey
|
||||
highlight LineNr ctermbg=black
|
||||
|
||||
" NERDTree options
|
||||
nmap <silent> <leader>t :NERDTree<CR>
|
||||
let g:NERDTreeChristmasTree = 1
|
||||
let g:NERDTreeChDirMode = 2
|
||||
let g:NERDTreeHighlightCursorline = 1
|
||||
let g:NERDTreeMouseMode = 2
|
||||
let g:NERDTreeShowHidden = 1
|
||||
|
||||
" Tagbar options
|
||||
nmap <F8> :TagbarToggle<CR>
|
||||
|
|
Loading…
Reference in New Issue