vimrc: Update vimrc to add 80col line and tab gestion
This commit is contained in:
1 parent
64b1654ba8
commit
ee2db6edfd
1 file changed
+9
-1
@@ -19,7 +19,7 @@ set guifont=Monospace\ 9
|
||||
" alias, tags enter with 't'
|
||||
map t <C-]>
|
||||
|
||||
" Cursori (#F0E68C)
|
||||
" Cursor color (#F0E68C)
|
||||
highlight Cursor guifg=black guibg=#F0E68C
|
||||
|
||||
" Cursor line
|
||||
@@ -31,6 +31,10 @@ augroup CursorLine
|
||||
au WinLeave * setlocal nocursorline
|
||||
augroup END
|
||||
|
||||
" 80 col line
|
||||
highlight ColorColumn ctermbg=235 guibg=#242424
|
||||
set colorcolumn=80
|
||||
|
||||
" autocompletion
|
||||
set wildmenu
|
||||
set wildmode=longest:list,full
|
||||
@@ -42,3 +46,7 @@ cabbrev E Explore
|
||||
set tabstop=4
|
||||
" " when indenting with '>', use 4 spaces width
|
||||
set shiftwidth=4
|
||||
" force tab caratctere instead of space
|
||||
set noexpandtab
|
||||
|
||||
"autocmd vimenter * NERDTree
|
||||
Reference in new issue
Block a user