Skip to content
Snippets Groups Projects
Commit 169c2e6c authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

Tune FZF

parent c2c05a9b
No related branches found
No related tags found
No related merge requests found
...@@ -553,9 +553,7 @@ inoremap <C-G>t <Esc>:CtrlSFToggle<CR> ...@@ -553,9 +553,7 @@ inoremap <C-G>t <Esc>:CtrlSFToggle<CR>
" Esearch settings " Esearch settings
" Use <leader>ff for getting the search input prompt " Use <c-g><c-g> to start the prompt, use <c-g>iw to pre-fill with the current word
" Use <c-f><c-f> to start the prompt, use <c-f>iw to pre-fill with the current word
" or other text-objects. Try <plug>(esearch-exec) to start a search instantly. " or other text-objects. Try <plug>(esearch-exec) to start a search instantly.
nmap <c-g><c-g> <plug>(esearch) nmap <c-g><c-g> <plug>(esearch)
map <c-g> <plug>(operator-esearch-prefill) map <c-g> <plug>(operator-esearch-prefill)
...@@ -1071,8 +1069,9 @@ let g:vimtex_quickfix_open_on_warning = 0 ...@@ -1071,8 +1069,9 @@ let g:vimtex_quickfix_open_on_warning = 0
map <C-f> <Esc><Esc>:Files!<CR> map <C-f> <Esc><Esc>:Files!<CR>
inoremap <C-f> <Esc><Esc>:Lines!<CR> inoremap <C-f> <Esc><Esc>:Lines!<CR>
map <C-g> <Esc><Esc>:BCommits!<CR> map <C-g> <Esc><Esc>:BCommits!<CR>
nnoremap <silent> <leader>ff :RG<CR> nnoremap <silent> <leader>FF :RG<CR>
nnoremap <Leader>fw :RG <C-R><C-W><CR> nnoremap <silent> <leader>ff :Rg<CR>
nnoremap <Leader>fw :Rg <C-R><C-W><CR>
" When inside the fuzzy search, use: " When inside the fuzzy search, use:
"<Enter> replace current file "<Enter> replace current file
"<C-t> open in a new tab "<C-t> open in a new tab
...@@ -1110,7 +1109,6 @@ let $FZF_DEFAULT_COMMAND='rg --vimgrep --no-heading --color=never --smart-case - ...@@ -1110,7 +1109,6 @@ let $FZF_DEFAULT_COMMAND='rg --vimgrep --no-heading --color=never --smart-case -
"command! -bang -nargs=? -complete=dir Files "command! -bang -nargs=? -complete=dir Files
"\ call fzf#vim#files(<q-args>, fzf#vim#with_preview(), <bang>0) "\ call fzf#vim#files(<q-args>, fzf#vim#with_preview(), <bang>0)
"" Get text in files with Rg "" Get text in files with Rg
"command! -bang -nargs=* Rg "command! -bang -nargs=* Rg
"\ call fzf#vim#grep( "\ call fzf#vim#grep(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment