From 9901ee9026d750b814e7d7611dd7e35c20ac3180 Mon Sep 17 00:00:00 2001 From: kana Date: Sun, 9 Mar 2008 21:32:00 +0900 Subject: [PATCH] Add description on NCmdUndefined --- runtime/doc/autocmd.txt | 10 ++++++++++ runtime/doc/hacks.txt | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 978686a..dc60c41 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -277,6 +277,7 @@ Name triggered by ~ |ShellFilterPost| after filtering with a shell command |FuncUndefined| a user function is used but it isn't defined +|NCmdUndefined| a typed key is not mapped to any Normal mode command |SpellFileMissing| a spell file is used but it can't be found |SourcePre| before sourcing a Vim script |SourceCmd| before sourcing a Vim script |Cmd-event| @@ -662,6 +663,15 @@ MenuPopup Just before showing the popup menu (under the o Operator-pending i Insert c Command line + *NCmdUndefined* +NCmdUndefined When a key is typed but it's not mapped to any + Normal mode command. The pattern is matched + against the name of the typed key which is + represented as a string with a single + character. Both and are set + to the name of the typed key. Useful for + shifting to Insert mode automatically when + a multibyte character is typed in Normal mode. *QuickFixCmdPre* QuickFixCmdPre Before a quickfix command is run (|:make|, |:lmake|, |:grep|, |:lgrep|, |:grepadd|, diff --git a/runtime/doc/hacks.txt b/runtime/doc/hacks.txt index 626a69d..f23f255 100644 --- a/runtime/doc/hacks.txt +++ b/runtime/doc/hacks.txt @@ -7,6 +7,10 @@ All changes are licensed under the same terms of Vim. See |license|. ============================================================================== INDEX OF HACKS *hacks-index* +|NCmdUndefined| *hacks-ncmdundefined* + Autocommand event for typeing a key which is not mapped to any Normal + mode command. + -- 2.11.4.GIT