diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-11-16 02:00:04 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-11-28 03:48:06 +0100 |
commit | 30857030e848e4a727a889e51d4618ab9b30651f (patch) | |
tree | 7dc3b5ba9ed57699ba9f27f19609a411e27e31b8 /runtime/doc/map.txt | |
parent | 3348eea429d67fdb3942a9e60d60deb8f59b3ec8 (diff) | |
download | rneovim-30857030e848e4a727a889e51d4618ab9b30651f.tar.gz rneovim-30857030e848e4a727a889e51d4618ab9b30651f.tar.bz2 rneovim-30857030e848e4a727a889e51d4618ab9b30651f.zip |
doc
- develop.txt is for design/guidelines; architecture/concepts should
live elsewhere (currently src/nvim/README.md)
- move dev-jargon to intro.txt
- replace https://neovim.io/community (deprecated) with
https://neovim.io/#chat
- <Cmd> avoids CmdlineEnter/Leave
https://github.com/vim/vim/issues/2889
Diffstat (limited to 'runtime/doc/map.txt')
-rw-r--r-- | runtime/doc/map.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 30e7f644b3..fa5e10b5e5 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -286,6 +286,9 @@ current mode (instead of always going to normal-mode). Visual-mode is preserved, so tricks with |gv| are not needed. Commands can be invoked directly in cmdline-mode (which otherwise would require timer hacks). +Because <Cmd> avoids mode-changes (unlike ":") it does not trigger +|CmdlineEnter| and |CmdlineLeave| events. This helps performance. + Unlike <expr> mappings, there are no special restrictions on the <Cmd> command: it is executed as if an (unrestricted) |autocmd| was invoked or an async event event was processed. |