tweaking ctrlp behavior

This commit is contained in:
Alex Yatskov 2017-09-06 18:50:07 -07:00
parent 3659d1a66e
commit 75a9c37f9b
3 changed files with 6 additions and 7 deletions

6
.gitmodules vendored
View File

@ -19,9 +19,6 @@
[submodule ".vim/bundle/vim-sort-motion"] [submodule ".vim/bundle/vim-sort-motion"]
path = .vim/bundle/vim-sort-motion path = .vim/bundle/vim-sort-motion
url = https://github.com/christoomey/vim-sort-motion.git url = https://github.com/christoomey/vim-sort-motion.git
[submodule ".vim/bundle/ctrlp.vim"]
path = .vim/bundle/ctrlp.vim
url = https://github.com/ctrlpvim/ctrlp.vim.git
[submodule ".vim/bundle/vim-fswitch"] [submodule ".vim/bundle/vim-fswitch"]
path = .vim/bundle/vim-fswitch path = .vim/bundle/vim-fswitch
url = https://github.com/derekwyatt/vim-fswitch.git url = https://github.com/derekwyatt/vim-fswitch.git
@ -115,3 +112,6 @@
[submodule ".vim/bundle/ack.vim"] [submodule ".vim/bundle/ack.vim"]
path = .vim/bundle/ack.vim path = .vim/bundle/ack.vim
url = https://github.com/mileszs/ack.vim.git url = https://github.com/mileszs/ack.vim.git
[submodule ".vim/bundle/ctrlp.vim"]
path = .vim/bundle/ctrlp.vim
url = https://github.com/ctrlpvim/ctrlp.vim

View File

@ -35,6 +35,9 @@ nnoremap <C-o> :only<Cr>
nnoremap j gj nnoremap j gj
nnoremap k gk nnoremap k gk
" ctrlp.vim
nnoremap <silent><C-l> :CtrlPMRU<Cr>
" perforce checkout " perforce checkout
nnoremap <silent><Leader>e :silent !p4 edit % <bar> set noro<Cr> nnoremap <silent><Leader>e :silent !p4 edit % <bar> set noro<Cr>

View File

@ -2,10 +2,6 @@
runtime bundle/vim-pathogen/autoload/pathogen.vim runtime bundle/vim-pathogen/autoload/pathogen.vim
execute pathogen#infect() execute pathogen#infect()
" ctrlp.vim
let g:ctrlp_cmd = 'CtrlPMixed'
let g:ctrlp_working_path_mode = 'ra'
" vim-airline " vim-airline
let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#enabled = 1