aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vimrc9
1 files changed, 8 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 0430e11..21f9983 100644
--- a/.vimrc
+++ b/.vimrc
@@ -98,7 +98,7 @@ Plug 'tpope/vim-unimpaired'
Plug 'godlygeek/tabular'
Plug 'ledger/vim-ledger', {'for': 'ledger'}
Plug 'puremourning/vimspector'
-Plug 'nathangrigg/vim-beancount', {'for': 'beancount'}
+Plug 'mileszs/ack.vim'
call plug#end()
" Plugin config
@@ -178,3 +178,10 @@ hi! SpellRare gui=undercurl guisp=magenta
" Vimspector
let g:vimspector_enable_mappings = 'HUMAN'
+
+" Ack.vim
+if executable('ag')
+ let g:ackprg = 'ag --vimgrep'
+endif
+cnoreabbrev Ack Ack!
+nnoremap <Leader>a :Ack!<Space>