Permalink
Browse files

add CtrlP, remove Command-T

  • Loading branch information...
bio committed Apr 14, 2012
1 parent 0ea928f commit 77b16f0a7a615ee5901e5408f6a988e18b98482f
Showing with 19 additions and 13 deletions.
  1. +3 −3 .gitmodules
  2. +3 −3 gitconfig
  3. +4 −2 gvimrc
  4. +0 −1 vim/bundle/command-t
  5. +1 −0 vim/bundle/ctrlp.vim
  6. +8 −4 vimrc
View
@@ -16,12 +16,12 @@
[submodule "vim/bundle/vim-fuzzyfinder"]
path = vim/bundle/vim-fuzzyfinder
url = https://github.com/vim-scripts/FuzzyFinder.git
-[submodule "vim/bundle/command-t"]
- path = vim/bundle/command-t
- url = https://github.com/wincent/Command-T.git
[submodule "vim/bundle/vim-commentary"]
path = vim/bundle/vim-commentary
url = http://github.com/tpope/vim-commentary.git
[submodule "vim/bundle/vim-surround"]
path = vim/bundle/vim-surround
url = http://github.com/tpope/vim-surround.git
+[submodule "vim/bundle/ctrlp.vim"]
+ path = vim/bundle/ctrlp.vim
+ url = https://github.com/kien/ctrlp.vim.git
View
@@ -1,6 +1,6 @@
[user]
name = Valery Viktorovsky
- email = viktorovsky@gmail.com
+ email = viktorovsky@gmail.com
[alias]
co = checkout
ci = commit
@@ -17,5 +17,5 @@
ui = auto
[core]
- autocrlf = input
- safecrlf = true
+ autocrlf = input
+ safecrlf = true
View
6 gvimrc
@@ -14,8 +14,10 @@ colorscheme topfunky-light
set guioptions+=c
macmenu &File.New\ Tab key=<Nop>
-map <D-t> :CommandT<CR>
-imap <D-t> <Esc>:CommandT<CR>
+"map <D-t> :CommandT<CR>
+"imap <D-t> <Esc>:CommandT<CR>
+map <D-t> :CtrlP<CR>
+imap <D-t> <Esc>:CtrlP<CR>
macmenu &File.Close key=<nop>
macmenu &File.Close\ Window key=<nop>
Submodule command-t deleted from e9a861
Submodule ctrlp.vim added at cb25e8
View
12 vimrc
@@ -39,7 +39,7 @@ set laststatus=2
set wildmenu
set wildmode=longest,full
" Patterns to ignore during file-navigation
-set wildignore+=*.o,.hg,.git
+set wildignore+=*.o,*/.git/*,*/.hg/*,*/.svn/*
" Moise in all modes
set mouse=a
@@ -174,10 +174,14 @@ function! InsCtrlE()
endfunction
" Command-T
-let g:CommandTMaxFiles=20000
+""let g:CommandTMaxFiles=20000
" flush path cache and rescan dir
-nmap <silent> <C-f> :CommandTFlush<CR>
-imap <silent> <C-f> :CommandTFlush<CR>
+""nmap <silent> <C-f> :CommandTFlush<CR>
+""imap <silent> <C-f> :CommandTFlush<CR>
+
+" CtrlP
+let g:ctrlp_max_files = 20000
+let g:ctrlp_cache_dir = $HOME.'/tmp/vim/ctrlp'
menu Encoding.utf-8 :e ++enc=utf-8<CR>
menu Encoding.windows-1251 :e ++enc=cp1251<CR>

0 comments on commit 77b16f0

Please sign in to comment.