Add gutter
Change-Id: If38c9c22d52dc55553f160bcee86ddd38722b772
This commit is contained in:
5
.vimrc
5
.vimrc
@@ -19,6 +19,7 @@ if filereadable(expand(vundle_dir) . "/README.md")
|
||||
Plugin 'rhysd/vim-clang-format'
|
||||
" Plugin 'shougo/neocomplete'
|
||||
Plugin 'godlygeek/tabular'
|
||||
Plugin 'airblade/vim-gitgutter'
|
||||
|
||||
call vundle#end() " required
|
||||
else
|
||||
@@ -27,6 +28,7 @@ else
|
||||
command CloneVundle execute "!git clone " . vundle_repo . " " . vundle_dir
|
||||
endif
|
||||
|
||||
set updatetime=100 " Default is 4s, but reduce it to make things more real time, like git gutter
|
||||
highlight Search ctermbg=5
|
||||
|
||||
filetype plugin indent on " required
|
||||
@@ -66,6 +68,9 @@ augroup numbertoggle
|
||||
autocmd BufLeave,FocusLost,InsertEnter * set nornu
|
||||
augroup END
|
||||
|
||||
" Copy to the end of line
|
||||
noremap Y y$
|
||||
|
||||
" define upper case versions of :w and :q
|
||||
command! -bang -range=% -complete=file -nargs=* W <line1>,<line2>write<bang> <args>
|
||||
command! -bang Q quit<bang>
|
||||
|
||||
Reference in New Issue
Block a user