summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--neovim/.config/nvim/init.vim16
1 files changed, 3 insertions, 13 deletions
diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim
index 1dbc2d6..1f5e149 100644
--- a/neovim/.config/nvim/init.vim
+++ b/neovim/.config/nvim/init.vim
@@ -65,7 +65,7 @@ Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
" Code and files fuzzy finder
-Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
+Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'neomake/neomake'
@@ -99,10 +99,6 @@ Plug 'jeetsukumaran/vim-indentwise'
Plug 'sheerun/vim-polyglot'
let g:polyglot_disabled = ['latex']
-" Ack code search (requires ack installed in the system)
-Plug 'mileszs/ack.vim'
-" TODO is there a way to prevent the progress which hides the editor?
-
" Paint css colors with the real color
Plug 'lilydjwg/colorizer'
" TODO is there a better option for neovim?
@@ -329,8 +325,8 @@ let NERDTreeIgnore = ['\.pyc$', '\.pyo$']
nmap ,e :Files<CR>
" buffer search
nmap ,b :Buffers<CR>
-" Ag search
-nmap ,a :Ag<CR>
+" Ripgrep search
+nmap ,a :Rg<CR>
" tags (symbols) in current file finder mapping
nmap ,g :BTag<CR>
" tags (symbols) in all files finder mapping
@@ -356,12 +352,6 @@ nmap ,c :Commands<CR>
"nmap ,wc :call CtrlPWithSearchText(expand('<cword>'), 'CmdPalette')<CR>
-" Ack.vim ------------------------------
-
-" mappings
-nmap ,r :Ack
-nmap ,wr :Ack <cword><CR>
-
" Window Chooser ------------------------------
" mapping