From ed0bbf0dc29e0107da604c83eebde4e17521c588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 13 May 2016 23:46:16 +0200 Subject: vis-lua: add win:map function for window local key mappings Based on a patch by Josh Wainwright. Close #306 --- README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'README.md') 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)` -- cgit v1.2.3