From 89d08f8344c521977d027e2c2831540f72674915 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Sat, 8 Feb 2020 23:23:28 +0500 Subject: Updates. --- files/.vimrc | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'files/.vimrc') diff --git a/files/.vimrc b/files/.vimrc index c612223..23a6c11 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -39,7 +39,7 @@ Plugin 'https://github.com/mattn/emmet-vim.git' " Code snippets Plugin 'https://github.com/msanders/snipmate.vim' " Silversearch plugin -Plugin 'https://github.com/rking/ag.vim' +Plugin 'mileszs/ack.vim' " Support dot command for plugins Plugin 'https://github.com/tpope/vim-repeat.git' Plugin 'https://github.com/tpope/vim-surround.git' @@ -66,7 +66,7 @@ Plugin 'lervag/vimtex' Plugin 'sheerun/vim-polyglot' Plugin 'terryma/vim-expand-region' " Maintains a history of previous yanks, changes and deletes -Plugin 'vim-scripts/YankRing.vim' +"Plugin 'vim-scripts/YankRing.vim' " File types @@ -620,8 +620,21 @@ let g:polyglot_disabled = ['latex'] " }}} " YankRing {{{ +let g:yankring_replace_n_pkey = '' +let g:yankring_replace_n_nkey = '' let g:yankring_history_dir = "$HOME/tmp/vim/" +" }}} +" Ack {{{ + +if executable('ag') + let g:ackprg = 'ag --vimgrep' + cnoreabbrev ag Ack + cnoreabbrev aG Ack + cnoreabbrev Ag Ack + cnoreabbrev AG Ack +endif + " }}} " }}} " Load custom local config {{{ -- cgit v1.2.3