move from ctrlp to fzf

This commit is contained in:
Alex Yatskov 2019-02-02 10:40:54 -08:00
parent 3b90fa33f0
commit f2093d27bd
5 changed files with 11 additions and 4 deletions

6
.gitmodules vendored
View File

@ -103,9 +103,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
[submodule ".vim/bundle/vim-dirvish"] [submodule ".vim/bundle/vim-dirvish"]
path = .vim/bundle/vim-dirvish path = .vim/bundle/vim-dirvish
url = https://github.com/justinmk/vim-dirvish.git url = https://github.com/justinmk/vim-dirvish.git
@ -115,3 +112,6 @@
[submodule ".vim/bundle/vim-signify"] [submodule ".vim/bundle/vim-signify"]
path = .vim/bundle/vim-signify path = .vim/bundle/vim-signify
url = https://github.com/mhinz/vim-signify.git url = https://github.com/mhinz/vim-signify.git
[submodule ".vim/bundle/fzf"]
path = .vim/bundle/fzf
url = https://github.com/junegunn/fzf

@ -1 +0,0 @@
Subproject commit 879c40da6b7c65fa01f17a083efee6cdc8bf9d09

1
.vim/bundle/fzf Submodule

@ -0,0 +1 @@
Subproject commit 315e568de006e80138f79c77d5508c7e4853e6b2

View File

@ -35,6 +35,10 @@ nnoremap <C-l> <C-W>l
nnoremap j gj nnoremap j gj
nnoremap k gk nnoremap k gk
" fzf
nnoremap <C-p> :FZF<Cr>
nnoremap <C-o> :FZF ~/projects<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

@ -7,6 +7,9 @@ let g:ale_lint_on_text_changed = "never"
let g:ale_lint_on_enter = "never" let g:ale_lint_on_enter = "never"
let g:ale_linters = {'go': ['gofmt', 'go vet', 'go build']} let g:ale_linters = {'go': ['gofmt', 'go vet', 'go build']}
" fzf
let $FZF_DEFAULT_COMMAND='find .'
" vim-airline " vim-airline
let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#enabled = 1