diff --git a/.vimrc b/.vimrc index 19f84f7..c1d3669 100644 --- a/.vimrc +++ b/.vimrc @@ -19,10 +19,10 @@ map fh :CtrlP app/helpers map fl :CtrlP lib map fp :CtrlP public map fs :CtrlP app/stylesheets -let g:ctrlp_prompt_mappings = { - \ 'AcceptSelection("e")': [''], - \ 'AcceptSelection("t")': ['', '<2-LeftMouse>'], - \ } +"let g:ctrlp_prompt_mappings = { +" \ 'AcceptSelection("e")': [''], +" \ 'AcceptSelection("t")': ['', '<2-LeftMouse>'], +" \ } """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " BASIC EDITING CONFIGURATION """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" @@ -320,7 +320,7 @@ endfunction " From http://vim.wikia.com/wiki/Move_current_window_between_tabs " Moves a window from one tab to another. -function MoveToPrevTab() +function! MoveToPrevTab() "there is only one window if tabpagenr('$') == 1 && winnr('$') == 1 return @@ -340,9 +340,9 @@ function MoveToPrevTab() endif "opening current buffer in new window exe "b".l:cur_buf -endfunc +endfunction -function MoveToNextTab() +function! MoveToNextTab() "there is only one window if tabpagenr('$') == 1 && winnr('$') == 1 return @@ -362,7 +362,7 @@ function MoveToNextTab() endif "opening current buffer in new window exe "b".l:cur_buf -endfunc +endfunction map :call MoveToNextTab()H map :call MoveToPrevTab()H