From df8ec3af1de7db216a6702f72ddfdfd1a46e0a32 Mon Sep 17 00:00:00 2001 From: "Harish.K" Date: Fri, 6 Dec 2013 21:09:13 +0530 Subject: [PATCH] increase and decrease indent toggle expandtab --- home/.vimrc | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/home/.vimrc b/home/.vimrc index d13a25c..1846ce0 100755 --- a/home/.vimrc +++ b/home/.vimrc @@ -8,8 +8,8 @@ map :TlistToggle nmap :waexe "mksession! " . v:this_session set mouse=a - cmap cwd lcd %:p:h - cmap cd. lcd %:p:h + " cmap cwd lcd %:p:h + " cmap cd. lcd %:p:h set timeout timeoutlen=1000 ttimeoutlen=100 : " } @@ -49,6 +49,9 @@ set expandtab " Tabs are spaces, not tabs set tabstop=4 " An indentation every four columns set softtabstop=4 " Let backspace delete indent + nmap tt :let &expandtab=!&expandtab + nmap tj :let &shiftwidth=&shiftwidth-2\|let &tabstop=&tabstop-2\|let &softtabstop=&softtabstop-2\|echo 'tabstop=' &tabstop + nmap tk :let &shiftwidth=&shiftwidth+2\|let &tabstop=&tabstop+2\|let &softtabstop=&softtabstop+2\|echo 'tabstop=' &tabstop " } " for java { @@ -148,10 +151,13 @@ Bundle 'amirh/HTML-AutoCloseTag' Bundle 'tpope/vim-surround' Bundle 'vim-scripts/AutoComplPop' + " Bundle 'Shougo/eocomplcache' Bundle 'spf13/vim-autoclose' Bundle 'scrooloose/nerdtree' Bundle 'harish2704/harish2704-vim' " Bundle 'Shougo/neocomplcache' + Bundle 'digitaltoad/vim-jade' + Bundle 'mustache/vim-mode' @@ -159,6 +165,7 @@ Bundle 'honza/vim-snippets' " Bundle 'int3/vim-taglist-plus' Bundle 'vim-scripts/EasyGrep' + Bundle 'briancollins/vim-jst' Bundle 'vim-scripts/matchit.zip' Bundle 'vim-scripts/adt.vim' " Bundle 'tpope/eclim' @@ -237,7 +244,7 @@ " } " gides { - let g:indent_guides_start_level = 2 + " let g:indent_guides_start_level = 2 let g:indent_guides_guide_size = 1 let g:indent_guides_enable_on_vim_startup = 1 " }