From c3aaadcbdef0f1626482dac1cfedb9adb9f23608 Mon Sep 17 00:00:00 2001 From: "Harish.K" Date: Sun, 8 Dec 2013 14:12:40 +0530 Subject: [PATCH] NrrwRgn plugin new html and js indent Move tab with ctrl-shift-pageDown/Up Move Window to tab with Ctrl-Shift-j/k --- home/.vimrc | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/home/.vimrc b/home/.vimrc index 1846ce0..304483b 100755 --- a/home/.vimrc +++ b/home/.vimrc @@ -36,11 +36,16 @@ let xml_syntax_folding=1 " XML autocmd FileType java set foldmethod=syntax nmap es :tabedit ~/.vimrc - " Open current file's snippets file - nmap en :execute 'tabedit ~/.vim/bundle/vim-snippets/snippets/' . &filetype . '.snippets' + " Open current file's snippets file in a new tab + nmap en :execute 'OpenSnippets' " } - +" for moving tab { + nmap :execute 'tabmove ' . (tabpagenr()-2 ) + nmap :execute 'tabmove ' . tabpagenr() + nmap :execute 'Mt' . (tabpagenr() -1) + nmap :execute 'Mt' . (tabpagenr() +1) +" } " for formating { " set nowrap " Wrap long lines @@ -158,11 +163,13 @@ " Bundle 'Shougo/neocomplcache' Bundle 'digitaltoad/vim-jade' Bundle 'mustache/vim-mode' + Bundle 'chrisbra/NrrwRgn' + Bundle 'vim-scripts/JavaScript-Indent' "Bundle 'git://github.com/vim-scripts/autoload_cscope.vim.git' - Bundle 'honza/vim-snippets' + Bundle 'harish2704/vim-snippets' " Bundle 'int3/vim-taglist-plus' Bundle 'vim-scripts/EasyGrep' Bundle 'briancollins/vim-jst'