From 623de7db86b86bf9de93b8a7ef26539a6681b1f5 Mon Sep 17 00:00:00 2001
From: Alex Yatskov <alex@foosoft.net>
Date: Sat, 2 Feb 2019 10:59:38 -0800
Subject: [PATCH] ack => ag improve fzf commands

---
 .vim/keymaps.vim | 2 +-
 .vim/plugins.vim | 9 ++++++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/.vim/keymaps.vim b/.vim/keymaps.vim
index 52dd866..e386935 100644
--- a/.vim/keymaps.vim
+++ b/.vim/keymaps.vim
@@ -37,7 +37,7 @@ nnoremap k gk
 
 " fzf
 nnoremap <C-p> :FZF<Cr>
-nnoremap <C-o> :FZF ~/projects<Cr>
+nnoremap <C-h> :FZF ~<Cr>
 
 " perforce checkout
 nnoremap <silent><Leader>e :silent !p4 edit % <bar> set noro<Cr>
diff --git a/.vim/plugins.vim b/.vim/plugins.vim
index 878c594..bd28b30 100644
--- a/.vim/plugins.vim
+++ b/.vim/plugins.vim
@@ -2,13 +2,16 @@
 runtime bundle/vim-pathogen/autoload/pathogen.vim
 execute pathogen#infect()
 
+" ack
+let g:ackprg = 'ag --vimgrep'
+
 " ale
-let g:ale_lint_on_text_changed = "never"
-let g:ale_lint_on_enter = "never"
+let g:ale_lint_on_text_changed = 'never'
+let g:ale_lint_on_enter = 'never'
 let g:ale_linters = {'go': ['gofmt', 'go vet', 'go build']}
 
 " fzf
-let $FZF_DEFAULT_COMMAND='find .'
+let $FZF_DEFAULT_COMMAND='find -L .'
 
 " vim-airline
 let g:airline#extensions#tabline#enabled = 1