some tweaks to vimrc

master
Daniel Nägele 11 years ago
parent 7ae4aa6a02
commit daa3f35c9e
  1. 14
      vimrc

14
vimrc

@ -96,9 +96,19 @@ nnoremap k gk
vnoremap < <gv vnoremap < <gv
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$ " change Y from yy to y$
map Y y$ map Y y$
" alternative esc
inoremap jk <esc>
" remove search hl " remove search hl
nnoremap <silent><C-C> :nohl<CR> nnoremap <silent><C-C> :nohl<CR>
@ -154,6 +164,7 @@ Bundle 'davidhalter/jedi-vim'
Bundle 'airblade/vim-gitgutter' Bundle 'airblade/vim-gitgutter'
Bundle 'ivyl/vim-bling' Bundle 'ivyl/vim-bling'
Bundle 'mileszs/ack.vim' Bundle 'mileszs/ack.vim'
Bundle 'sjl/gundo.vim'
"Bundle 'Yggdroot/indentLine' " good with my urxvt config: let g:indentLine_color_term = 239 "Bundle 'Yggdroot/indentLine' " good with my urxvt config: let g:indentLine_color_term = 239
if installed_vundle == 1 if installed_vundle == 1
@ -204,4 +215,7 @@ let g:jedi#popup_on_dot = 0
let g:gitgutter_enabled = 0 let g:gitgutter_enabled = 0
noremap <silent><leader>g :GitGutterToggle<Cr> noremap <silent><leader>g :GitGutterToggle<Cr>
" Gundo
nnoremap <silent><leader>u :GundoToggle<Cr>
"" }}} "" }}}

Loading…
Cancel
Save