From 9369a49ae9ed9b7955e1bb62c5f5e3c1830c4935 Mon Sep 17 00:00:00 2001 From: "Harish.K" Date: Thu, 12 Dec 2013 00:14:13 +0530 Subject: [PATCH] for tab swithcing in commandline vim for cursor moving in windows for commandline vim RM duplicate line --- home/.vimrc | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/home/.vimrc b/home/.vimrc index 304483b..7ade8c5 100755 --- a/home/.vimrc +++ b/home/.vimrc @@ -74,7 +74,8 @@ " Broken down into easily includeable segments set statusline=%w%h%m%r " Options " set statusline+=%{fugitive#statusline()} " Git Hotness - set statusline+=\ [%{&ff}/%Y] " Filetype + " set statusline+=\ [%{&ff}/%Y] " Filetype + set statusline+=\ [%{winnr()}] " Filetype set statusline+=%<%f\ " Filename " set statusline+=\ [%{getcwd()}] " Current dir set statusline+=%=%-14.(%l,%c%V%)\ %p%% " Right aligned file nav info @@ -174,7 +175,7 @@ Bundle 'vim-scripts/EasyGrep' Bundle 'briancollins/vim-jst' Bundle 'vim-scripts/matchit.zip' - Bundle 'vim-scripts/adt.vim' + " Bundle 'vim-scripts/adt.vim' " Bundle 'tpope/eclim' " Source support_function.vim to support vim-snippets. if filereadable(expand("~/.vim/bundle/vim-snippets/snippets/support_functions.vim")) @@ -245,11 +246,6 @@ nmap aq ysiw' " } -" for moving tab { - nmap :execute 'tabmove ' . (tabpagenr()-2 ) - nmap :execute 'tabmove ' . tabpagenr() -" } - " gides { " let g:indent_guides_start_level = 2 let g:indent_guides_guide_size = 1 @@ -261,3 +257,18 @@ set wrap colorscheme desert256 " set foldmethod=syntax " let javascriptfold=1 + +nmap k +nmap j +nmap l +nmap h + +map 1 1gt +map 2 2gt +map 3 3gt +map 4 4gt +map 5 5gt +map 6 6gt +map 7 7gt +map 8 8gt +