Skip to content

Commit

Permalink
add CtrlP, remove Command-T
Browse files Browse the repository at this point in the history
  • Loading branch information
bio committed Apr 14, 2012
1 parent 0ea928f commit 77b16f0
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Expand Up @@ -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
6 changes: 3 additions & 3 deletions gitconfig
@@ -1,6 +1,6 @@
[user]
name = Valery Viktorovsky
email = viktorovsky@gmail.com
email = viktorovsky@gmail.com
[alias]
co = checkout
ci = commit
Expand All @@ -17,5 +17,5 @@
ui = auto

[core]
autocrlf = input
safecrlf = true
autocrlf = input
safecrlf = true
6 changes: 4 additions & 2 deletions gvimrc
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion vim/bundle/command-t
Submodule command-t deleted from e9a861
1 change: 1 addition & 0 deletions vim/bundle/ctrlp.vim
Submodule ctrlp.vim added at cb25e8
12 changes: 8 additions & 4 deletions vimrc
Expand Up @@ -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
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 77b16f0

Please sign in to comment.