aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-05-13 23:46:16 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-05-14 00:00:39 +0200
commited0bbf0dc29e0107da604c83eebde4e17521c588 (patch)
treef308411fc05eec6f078fff2fc92f02caba56319d /README.md
parenta1881512f3050e8d6719a28b55846c1f4c93acab (diff)
downloadvis-ed0bbf0dc29e0107da604c83eebde4e17521c588.tar.gz
vis-ed0bbf0dc29e0107da604c83eebde4e17521c588.tar.xz
vis-lua: add win:map function for window local key mappings
Based on a patch by Josh Wainwright. Close #306
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index be11bde..3c6b543 100644
--- a/README.md
+++ b/README.md
@@ -617,6 +617,7 @@ At this time there exists no API stability guarantees.
- `cursors[1..#cursors]` array giving read access to all cursors
- `cursor` primary cursor
- `syntax` lexer name used for syntax highlighting or `nil`
+ - `map(mode, key, function)` map a Lua function to `key` in `mode`, local to the given window
- `cursor`
- `line` (1 based), `col` (1 based)
- `to(line, col)`