1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Add Open FZF Result In A Split as a vim til

This commit is contained in:
jbranchaud
2019-03-13 11:47:59 -05:00
parent 1eb152b370
commit 82b0392eb8
2 changed files with 14 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/).
_780 TILs and counting..._
_781 TILs and counting..._
---
@@ -826,6 +826,7 @@ _780 TILs and counting..._
- [Normal Node Binding To Just Quit](vim/normal-mode-binding-to-just-quit.md)
- [Open A Tag In A Split Window](vim/open-a-tag-in-a-split-window.md)
- [Open an Unnamed Buffer](vim/open-an-unnamed-buffer.md)
- [Open FZF Result In A Split](vim/open-fzf-result-in-a-split.md)
- [Open Routes File With vim-rails](vim/open-routes-file-with-vim-rails.md)
- [Open The Directory Of The Current File](vim/open-the-directory-of-the-current-file.md)
- [Open The Gemfile](vim/open-the-gemfile.md)

View File

@@ -0,0 +1,12 @@
# Open FZF Result In A Split
The [`fzf.vim` plugin](https://github.com/junegunn/fzf.vim) allows you to do
speedy fuzzy searches for filenames and line-by-line content.
Once you've narrowed down the results and found what you're interested, you
can hit `<enter>` and a new buffer will open over what was already in the
window. You can also open that file as a split.
Hitting `Ctrl-x` will open the file under the cursor as a horizontal split.
Hitting `Ctrl-v` will alternatively open that file as a vertical split.