Parcourir la Source

~/.vimrc: Use CtrlP instead of CommandT.

It's similar, but in pure VimL.
Lucas Stadler 14 ans auparavant
Parent
commit
0cbc4e28ff
1 fichiers modifiés avec 3 ajouts et 7 suppressions
  1. 3 7
      .vimrc

+ 3 - 7
.vimrc

@ -94,13 +94,9 @@ map Q :quitall<CR>
94 94
" fancy maps
95 95
map <Space> :NERDTree<CR>
96 96
map <c-b> :make<CR> " build
97
if( has("ruby") )
98
	nmap <Leader>e :CommandT<CR> " edit
99
	nmap <Leader>T :tabnew<CR>:CommandT<CR> " tabedit
100
else
101
	nmap <Leader>e :edit 
102
	nmap <Leader>T :tabedit 
103
endif
97
" Fuzzy finding (http://thechangelog.com/post/15573551543)
98
nmap <C-e> :CtrlP<CR>
99
nmap <C-p> :tabnew<CR>:CtrlP<CR>
104 100
map <c-f> :!ack
105 101
nmap <c-a> :w<CR>
106 102
map <Leader>t :TagbarToggle<CR>