From 6b87c98fb332951c3c55fce35f50e53c72bfaba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20N=C3=A4gele?= Date: Fri, 21 Mar 2014 16:56:04 +0100 Subject: [PATCH] update vimrc --- vimrc | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index a44c5dd..65ba05f 100644 --- a/vimrc +++ b/vimrc @@ -86,7 +86,12 @@ au BufRead,BufNewFile *.ino set filetype=c " keymaps {{{ "#################################################################### -let mapleader = "," +let mapleader = "\" + +" some easy ones +nnoremap o :CtrlP +nnoremap w :w +nnoremap q :wq " jump to visual lines nnoremap j gj @@ -165,6 +170,7 @@ Bundle 'airblade/vim-gitgutter' Bundle 'ivyl/vim-bling' Bundle 'mileszs/ack.vim' Bundle 'sjl/gundo.vim' +Bundle 'terryma/vim-expand-region' "Bundle 'Yggdroot/indentLine' " good with my urxvt config: let g:indentLine_color_term = 239 if installed_vundle == 1 @@ -215,7 +221,15 @@ let g:jedi#popup_on_dot = 0 let g:gitgutter_enabled = 0 noremap g :GitGutterToggle +" crtl-p +let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files . -co --exclude-standard', 'find %s -type f'] +let g:ctrlp_use_caching = 0 + " Gundo nnoremap u :GundoToggle +" expand-region +vmap v (expand_region_expand) +vmap (expand_region_shrink) + "" }}}