We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d24ec0 commit 765b625Copy full SHA for 765b625
1 file changed
.config/nvim/fzf.vim
@@ -50,7 +50,7 @@ function! Mru(onlyLocal, multi)
50
51
let options = {
52
\ 'source': 'rg --files --hidden | CLICOLOR_FORCE=1 fzf-mru ~/.config/nvim/mru ' . l:grep . ' && rm ' . openBuffersTempFile,
53
- \ 'placeholder': '{1}',
+ \ 'placeholder': '{}',
54
\ 'options': [
55
\ '--no-sort',
56
\ '--ansi',
@@ -68,6 +68,8 @@ endfunction
68
imap <c-x><c-k> <plug>(fzf-complete-word)
69
imap <c-x><c-l> <plug>(fzf-complete-line)
70
imap <c-x><c-b> <plug>(fzf-complete-buffer-line)
71
+inoremap <expr> <c-x><c-f> fzf#vim#complete("rg --files <Bar> xargs realpath --relative-to " . expand("%:h"))
72
+
73
74
" lookup recent command history
75
inoremap <expr> <c-x><c-h> fzf#vim#complete(fzf#wrap({
0 commit comments