From cc58ec9a801510fe77edb34e02b0635c4f24f924 Mon Sep 17 00:00:00 2001 From: Matthew Malcomson Date: Thu, 1 Jun 2017 09:20:56 +0100 Subject: Update documentation Update vim_diff.txt with :lmap differences, update documentation on 'keymap', and add tests. The tests added are to demonstrate the behaviour specified in the documentation of :loadkeymap. --- runtime/doc/vim_diff.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'runtime/doc/vim_diff.txt') diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 3924dd4ebe..2d53f26028 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -309,6 +309,12 @@ Highlight groups: VimL (Vim script) compatibility: `count` does not alias to |v:count| +|:lmap|s are applied to macro recordings, in Vim if a macro is recorded while +using |:lmap|ped keys then the behaviour during record and replay differs. +'keymap' is implemented via |:lmap| instead of |:lnoremap| in order to allow +using macros and 'keymap' at the same time. +This means that you can use |:imap| on the results of keys from 'keymap'. + ============================================================================== 5. Missing legacy features *nvim-features-missing* -- cgit