Skip to content

Commit 82b0392

Browse files
committed
Add Open FZF Result In A Split as a vim til
1 parent 1eb152b commit 82b0392

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
1010
For a steady stream of TILs from a variety of rocketeers, checkout
1111
[til.hashrocket.com](https://til.hashrocket.com/).
1212

13-
_780 TILs and counting..._
13+
_781 TILs and counting..._
1414

1515
---
1616

@@ -826,6 +826,7 @@ _780 TILs and counting..._
826826
- [Normal Node Binding To Just Quit](vim/normal-mode-binding-to-just-quit.md)
827827
- [Open A Tag In A Split Window](vim/open-a-tag-in-a-split-window.md)
828828
- [Open an Unnamed Buffer](vim/open-an-unnamed-buffer.md)
829+
- [Open FZF Result In A Split](vim/open-fzf-result-in-a-split.md)
829830
- [Open Routes File With vim-rails](vim/open-routes-file-with-vim-rails.md)
830831
- [Open The Directory Of The Current File](vim/open-the-directory-of-the-current-file.md)
831832
- [Open The Gemfile](vim/open-the-gemfile.md)

vim/open-fzf-result-in-a-split.md

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

0 commit comments

Comments
 (0)