Install ag, fzf

This commit is contained in:
2017-11-01 12:04:51 -07:00
parent f99d1a6c60
commit b1575d8747
6 changed files with 26 additions and 4 deletions

15
.vimrc
View File

@@ -50,6 +50,21 @@ map <C-n> :NERDTreeToggle<CR>
set tags=./tags,../tags,../../tags,../../../tags
let g:easytags_dynamic_files = 1
" FZF
set rtp+=/usr/local/opt/fzf
nmap <C-p> :Files<CR>
" Ack
if executable('ag')
let g:ackprg = 'ag --vimgrep'
endif
nmap <Leader>a :Ack!<Space>
" quickfix
nmap <Leader>c :cclose<CR>
nmap <Leader>C :copen<CR>
" merlin
let g:opamshare = substitute(system('opam config var share'),'\n$','','''')
execute "set rtp+=" . g:opamshare . "/merlin/vim"