33 lines
797 B
VimL
33 lines
797 B
VimL
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
" => VIM user interface
|
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
" Show line number
|
|
set nu
|
|
|
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
" => Text, tab and indent related
|
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
" Use spaces instead of tabs
|
|
set expandtab
|
|
|
|
" Be smart when using tabs ;)
|
|
set smarttab
|
|
|
|
" 1 tab == 3 spaces
|
|
set shiftwidth=3
|
|
set tabstop=3
|
|
|
|
" Linebreak on 500 characters
|
|
set lbr
|
|
set tw=500
|
|
|
|
set ai "Auto indent
|
|
set si "Smart indent
|
|
set wrap "Wrap lines
|
|
|
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
" => Nerd Tree
|
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
let g:NERDTreeWinPos = "left"
|
|
map <F12> :NERDTreeToggle<cr>
|