Visual improvements for vim
This commit is contained in:
parent
75350cb528
commit
ff7df07386
1 changed files with 9 additions and 4 deletions
|
|
@ -72,9 +72,16 @@ set wildmenu " Visual autocomplete for command menu
|
||||||
set wildmode=list:longest " Show all completions on tab
|
set wildmode=list:longest " Show all completions on tab
|
||||||
set laststatus=2 " Last window will always have statusline
|
set laststatus=2 " Last window will always have statusline
|
||||||
set showmatch " Highlight matching [{()}]
|
set showmatch " Highlight matching [{()}]
|
||||||
set cursorline " Highlight current line
|
set nocursorline " Highlight current line
|
||||||
highlight GitGutterAdd ctermbg=black guibg=black
|
highlight GitGutterAdd ctermbg=black guibg=black
|
||||||
highlight SignColumn guibg=black ctermbg=black
|
highlight SignColumn guibg=black ctermbg=black
|
||||||
|
highlight clear LineNr
|
||||||
|
highlight GitGutterAdd ctermbg=NONE
|
||||||
|
highlight GitGutterChange ctermbg=NONE
|
||||||
|
highlight GitGutterDelete ctermbg=NONE
|
||||||
|
highlight Folded ctermbg=NONE
|
||||||
|
highlight Search ctermfg=white ctermbg=blue
|
||||||
|
highlight Visual ctermbg=DarkGreen " Make search terms more visible
|
||||||
let g:ctrlsf_default_root="project"
|
let g:ctrlsf_default_root="project"
|
||||||
" remove underline on current line number
|
" remove underline on current line number
|
||||||
hi CursorLineNr cterm=NONE
|
hi CursorLineNr cterm=NONE
|
||||||
|
|
@ -149,8 +156,6 @@ set listchars=tab:▸\ ,eol:¬
|
||||||
set shiftwidth=4 " Indent/outdent by 4 columns
|
set shiftwidth=4 " Indent/outdent by 4 columns
|
||||||
set expandtab " Tabs are spaces
|
set expandtab " Tabs are spaces
|
||||||
set shiftround " Always indent/outdent to the nearest tabstop
|
set shiftround " Always indent/outdent to the nearest tabstop
|
||||||
" Make search terms more visible
|
|
||||||
highlight Visual ctermbg=DarkGreen ctermfg=Black
|
|
||||||
set autoindent " Auto indentation
|
set autoindent " Auto indentation
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
|
|
@ -266,7 +271,7 @@ set listchars=tab:▸\ ,eol:¬
|
||||||
hi DiffText cterm=none ctermfg=DarkGray ctermbg=LightBlue
|
hi DiffText cterm=none ctermfg=DarkGray ctermbg=LightBlue
|
||||||
|
|
||||||
" better diffs
|
" better diffs
|
||||||
set diffopt+=internal,algorithm:patience
|
" set diffopt+=internal,algorithm:patience
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue