From 06929ba11c0ef83da2462f60ee8c6dc07a2aa9a4 Mon Sep 17 00:00:00 2001 From: gxlin Date: Tue, 16 Mar 2021 10:42:48 +0800 Subject: Split .vimrc to multiple vimscript files --- .vim/plugins/ack.vim | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .vim/plugins/ack.vim (limited to '.vim/plugins/ack.vim') diff --git a/.vim/plugins/ack.vim b/.vim/plugins/ack.vim new file mode 100644 index 0000000..dd96e47 --- /dev/null +++ b/.vim/plugins/ack.vim @@ -0,0 +1,7 @@ +Plug 'mileszs/ack.vim' + +if executable('ag') + let g:ackprg = 'ag --vimgrep' +endif +cnoreabbrev Ack Ack! +nnoremap a :Ack! -- cgit v1.2.3