mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 16:45:38 -05:00
Updated Examples (markdown)
15
Examples.md
15
Examples.md
@@ -373,4 +373,17 @@ function! GetCompletions()
|
|||||||
endfunction
|
endfunction
|
||||||
```
|
```
|
||||||
|
|
||||||
hit `<c-l>` while in the ex commandline (i.e. after pressing `:`) to have fzf filter a list of vim's commandline auto-completions. Try `:colo␣<c-l>` (be sure to include the space) or `:b␣<c-l>`. There are special cases for handling file-searches, so that you can go deeper into the path than just one directory at a time, and so that you can add multiple files to the arglist at once. More special cases could be added. Some limitations: the auto-complete for `:help` and `:tag` are limited to 300 entries, so you may need to narrow it a bit.
|
hit `<c-l>` while in the ex commandline (i.e. after pressing `:`) to have fzf filter a list of vim's commandline auto-completions. Try `:colo␣<c-l>` (be sure to include the space) or `:b␣<c-l>`. There are special cases for handling file-searches, so that you can go deeper into the path than just one directory at a time, and so that you can add multiple files to the arglist at once. More special cases could be added. Some limitations: the auto-complete for `:help` and `:tag` are limited to 300 entries, so you may need to narrow it a bit.
|
||||||
|
|
||||||
|
tmux
|
||||||
|
====
|
||||||
|
|
||||||
|
Search entire file system (`ALT-L`)
|
||||||
|
-----------------------------------
|
||||||
|
|
||||||
|
ALT-L key will split the current window and start fzf for the entire list of files. The selected files will be pasted on to the original window.
|
||||||
|
|
||||||
|
```
|
||||||
|
# fzf-locate
|
||||||
|
bind-key -n 'M-l' run "tmux split-window -p 40 'tmux send-keys -t #{pane_id} \"$(locate / | fzf -m | paste -sd\\ -)\"'"
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user