m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 00:53:42 -05:00

Updated Examples (vim) (markdown)

Junegunn Choi
2015-07-28 23:24:23 +09:00
parent d56b533f98
commit 4fbcace7fe

@@ -64,10 +64,10 @@ nnoremap <silent> <Leader><Enter> :call fzf#run({
```vim
command! FZFMru call fzf#run({
\'source': v:oldfiles,
\'sink' : 'e ',
\'options' : '-m',
\})
\ 'source': v:oldfiles,
\ 'sink': 'e',
\ 'options': '-m',
\ 'down': '40%'})
```
#### Filtered `v:oldfiles` and open buffers
@@ -76,7 +76,7 @@ command! FZFMru call fzf#run({
command! FZFMru call fzf#run({
\ 'source': reverse(s:all_files()),
\ 'sink': 'edit',
\ 'options': '-m --no-sort -x',
\ 'options': '-m -x +s',
\ 'down': '40%' })
function! s:all_files()