aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeebak Kim <jeebak@users.noreply.github.com>2019-12-30 17:04:27 -0800
committerMatěj Cepl <mcepl@cepl.eu>2021-01-16 14:28:43 +0100
commit11db7309463ae7afeb08fc07271e38a223b234d6 (patch)
tree37f296a29b97ef25e74156fa26091181668d330b
parent1701bfc97df725b0ca23ed96b974744726e66f0b (diff)
downloadvis-fzf-open-11db7309463ae7afeb08fc07271e38a223b234d6.tar.gz
Update README.md w/ fzf expect bindings
-rw-r--r--README.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/README.md b/README.md
index 119f8df..752bf7b 100644
--- a/README.md
+++ b/README.md
@@ -4,13 +4,19 @@ Use [fzf](https://github.com/junegunn/fzf) to open files in [vis](https://github
## Usage
-In vis:
+In `vis`:
- `:fzf`: search all files in the current sub-tree.
-- You can pass arguments to fzf, e.g. : `:fzf -p !.class`
+- You can pass arguments to fzf, e.g. : `:fzf -p !.class`
+
+While in `fzf`:
+
+- `<Enter>` to open the selected file in current window
+- `<C-s>` to open the selected file in a horizontal split
+- `<C-v>` to open the selected file in a vertical split
## Configuration
-In visrc.lua:
+In `visrc.lua`:
```lua
plugin_vis_open =require('plugins/vis-fzf-open/fzf-open')