Swap ctrlp to fzf for faster fuzzy finds
This commit is contained in:
parent
2b9e9ca134
commit
47a3bf1dfb
2 changed files with 6 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
|||
* [tmux](https://github.com/tmux/tmux)
|
||||
* [zsh](https://github.com/zsh-users/zsh)
|
||||
* [neovim](https://github.com/neovim/neovim)
|
||||
* [fzf](https://github.com/junegunn/fzf)
|
||||
|
||||
## Setup
|
||||
|
||||
|
|
6
vimrc
6
vimrc
|
@ -8,7 +8,8 @@ Plug 'joshdick/onedark.vim'
|
|||
" keepers
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
Plug 'atomaka/ZoomWin' " vim-scripts not up to date
|
||||
Plug 'ctrlpvim/ctrlp.vim'
|
||||
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
||||
Plug 'junegunn/fzf.vim'
|
||||
Plug 'ntpeters/vim-better-whitespace'
|
||||
Plug 'rbgrouleff/bclose.vim'
|
||||
Plug 'tpope/vim-endwise'
|
||||
|
@ -104,6 +105,9 @@ map Y y$
|
|||
vnoremap > >gv
|
||||
vnoremap < <gv
|
||||
|
||||
" Make fzf act like ctrlp
|
||||
nnoremap <C-p> :Files<CR>
|
||||
|
||||
" ZoomWin
|
||||
nmap <c-w>z <Plug>ZoomWin
|
||||
|
||||
|
|
Loading…
Reference in a new issue