aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2016-01-19 21:01:48 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-01-19 21:04:12 +0100
commite1bf543ac6e9afb1be7f06c2ad02aad8e0b11fb5 (patch)
treedc80dd8f762e81aa497fc3d3b556e84b97c4e91a
parent495cc3d53cdb7182c98827f8aa0ad2726167daaf (diff)
downloadvis-e1bf543ac6e9afb1be7f06c2ad02aad8e0b11fb5.tar.gz
vis-e1bf543ac6e9afb1be7f06c2ad02aad8e0b11fb5.tar.xz
Add usage example for file open dialog to README
-rw-r--r--README.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/README.md b/README.md
index aa159e6..5bf3d3d 100644
--- a/README.md
+++ b/README.md
@@ -320,8 +320,16 @@ Operators can be forced to work line wise by specifying `V`.
* the current selection, equivalent to '<,'>
History support, tab completion and wildcard expansion are other
- worthwhile features. However implementing them inside the editor
- feels wrong.
+ worthwhile features. However implementing them inside the editor feels
+ wrong. For now you can use the `:edit` command with a pattern or a
+ directory like this.
+
+ :e *.c
+ :e .
+
+ vis will call the `vis-open` script which invokes dmenu or slmenu
+ with the files corresponding to the pattern. The file you select in
+ dmenu/slmenu will be opened in vis.
### Tab <-> Space conversion and Line endings \n vs \r\n