some tweaks to vimrc
This commit is contained in:
1 parent
7ae4aa6a02
commit
daa3f35c9e
1 file changed
+14
@@ -96,9 +96,19 @@ nnoremap k gk
|
||||
vnoremap < <gv
|
||||
vnoremap > >gv
|
||||
|
||||
" replace dollar and acute
|
||||
nnoremap B ^
|
||||
nnoremap E $
|
||||
|
||||
" highlight last inserted text
|
||||
nnoremap gV `[v`]
|
||||
|
||||
" change Y from yy to y$
|
||||
map Y y$
|
||||
|
||||
" alternative esc
|
||||
inoremap jk <esc>
|
||||
|
||||
" remove search hl
|
||||
nnoremap <silent><C-C> :nohl<CR>
|
||||
|
||||
@@ -154,6 +164,7 @@ Bundle 'davidhalter/jedi-vim'
|
||||
Bundle 'airblade/vim-gitgutter'
|
||||
Bundle 'ivyl/vim-bling'
|
||||
Bundle 'mileszs/ack.vim'
|
||||
Bundle 'sjl/gundo.vim'
|
||||
"Bundle 'Yggdroot/indentLine' " good with my urxvt config: let g:indentLine_color_term = 239
|
||||
|
||||
if installed_vundle == 1
|
||||
@@ -204,4 +215,7 @@ let g:jedi#popup_on_dot = 0
|
||||
let g:gitgutter_enabled = 0
|
||||
noremap <silent><leader>g :GitGutterToggle<Cr>
|
||||
|
||||
" Gundo
|
||||
nnoremap <silent><leader>u :GundoToggle<Cr>
|
||||
|
||||
"" }}}
|
||||
Reference in new issue
Block a user