aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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')