mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-19 09:03:43 -05:00
Updated Examples (vim) (markdown)
@@ -64,10 +64,10 @@ nnoremap <silent> <Leader><Enter> :call fzf#run({
|
|||||||
|
|
||||||
```vim
|
```vim
|
||||||
command! FZFMru call fzf#run({
|
command! FZFMru call fzf#run({
|
||||||
\'source': v:oldfiles,
|
\ 'source': v:oldfiles,
|
||||||
\'sink' : 'e ',
|
\ 'sink': 'e',
|
||||||
\'options' : '-m',
|
\ 'options': '-m',
|
||||||
\})
|
\ 'down': '40%'})
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Filtered `v:oldfiles` and open buffers
|
#### Filtered `v:oldfiles` and open buffers
|
||||||
@@ -76,7 +76,7 @@ command! FZFMru call fzf#run({
|
|||||||
command! FZFMru call fzf#run({
|
command! FZFMru call fzf#run({
|
||||||
\ 'source': reverse(s:all_files()),
|
\ 'source': reverse(s:all_files()),
|
||||||
\ 'sink': 'edit',
|
\ 'sink': 'edit',
|
||||||
\ 'options': '-m --no-sort -x',
|
\ 'options': '-m -x +s',
|
||||||
\ 'down': '40%' })
|
\ 'down': '40%' })
|
||||||
|
|
||||||
function! s:all_files()
|
function! s:all_files()
|
||||||
|
|||||||
Reference in New Issue
Block a user