diff --git a/.vimrc b/.vimrc index 03380deac05e19fe5a3b05e4cb4815ad73113b1e..be133ea6ed175c5a36a6532414d8bd3df1f21e6f 100644 --- a/.vimrc +++ b/.vimrc @@ -553,9 +553,7 @@ inoremap <C-G>t <Esc>:CtrlSFToggle<CR> " Esearch settings -" Use <leader>ff for getting the search input prompt - -" Use <c-f><c-f> to start the prompt, use <c-f>iw to pre-fill with the current word +" Use <c-g><c-g> to start the prompt, use <c-g>iw to pre-fill with the current word " or other text-objects. Try <plug>(esearch-exec) to start a search instantly. nmap <c-g><c-g> <plug>(esearch) map <c-g> <plug>(operator-esearch-prefill) @@ -1071,8 +1069,9 @@ let g:vimtex_quickfix_open_on_warning = 0 map <C-f> <Esc><Esc>:Files!<CR> inoremap <C-f> <Esc><Esc>:Lines!<CR> map <C-g> <Esc><Esc>:BCommits!<CR> -nnoremap <silent> <leader>ff :RG<CR> -nnoremap <Leader>fw :RG <C-R><C-W><CR> +nnoremap <silent> <leader>FF :RG<CR> +nnoremap <silent> <leader>ff :Rg<CR> +nnoremap <Leader>fw :Rg <C-R><C-W><CR> " When inside the fuzzy search, use: "<Enter> replace current file "<C-t> open in a new tab @@ -1110,7 +1109,6 @@ let $FZF_DEFAULT_COMMAND='rg --vimgrep --no-heading --color=never --smart-case - "command! -bang -nargs=? -complete=dir Files "\ call fzf#vim#files(<q-args>, fzf#vim#with_preview(), <bang>0) - "" Get text in files with Rg "command! -bang -nargs=* Rg "\ call fzf#vim#grep(