diff --git a/vim/vimrc b/vim/vimrc index 5dd53ae..6ae285c 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -123,11 +123,13 @@ let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.8 } } command! -bang -nargs=* Rg call \fzf#vim#grep('rg \ --hidden + \ --no-ignore \ -g !node_modules/ -g !.git/ \ --column --line-number --no-heading --color=always --smart-case '.shellescape(), \1, \fzf#vim#with_preview({'options': '--exact --delimiter : --nth 4..'}), 0) " is for strict search by default and other unknown stuff is to exclude filenames from search results +nnoremap ag :Rg | " searching for word ander cursor nnoremap b :Buffers nnoremap f :Files