1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00

Add Select Several Results From An FZF Search as a vim til

This commit is contained in:
jbranchaud
2019-03-20 09:26:27 -05:00
parent a2f371b9c3
commit 4ef9d1f967
2 changed files with 16 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
For a steady stream of TILs from a variety of rocketeers, checkout
[til.hashrocket.com](https://til.hashrocket.com/).
_789 TILs and counting..._
_790 TILs and counting..._
---
@@ -865,6 +865,7 @@ _789 TILs and counting..._
- [Scrolling Relative to the Cursor](vim/scrolling-relative-to-the-cursor.md)
- [Search Backward Through A File](vim/search-backward-through-a-file.md)
- [Searching For Hex Digits](vim/searching-for-hex-digits.md)
- [Select Several Results From An FZF Search](vim/select-several-results-from-an-fzf-search.md)
- [Set End Of Line Markers](vim/set-end-of-line-markers.md)
- [Set Your Color Scheme](vim/set-your-color-scheme.md)
- [Setting Filetype With Modelines](vim/setting-filetype-with-modelines.md)

View File

@@ -0,0 +1,14 @@
# Select Several Results From An FZF Search
When performing a fuzzy search in Vim with
[FZF](https://github.com/junegunn/fzf.vim), you likely get a mix of results
you care about and results that are just noise. FZF allows you to narrow
down to just the results you care about. Move the cursor over each result of
interest and hit tab. Little red arrows will show next to each item you have
selected.
![multi-select with fzf](https://i.imgur.com/6nJY5Ik.png)
When you are done hit enter. Each result will be opened as a separate
buffer. You can then navigate between them using your preferred method of
moving between buffers -- i.e. `:bnext` and `:bprev`.