diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2018-04-04 01:08:07 +0200 | 
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2018-04-04 03:23:15 +0200 | 
| commit | 224ebc0078f29ac3189d7fbd9a59b386ae2ee303 (patch) | |
| tree | d59733a73a7c7202b8badaba95d3f2bcc886ac77 /src/nvim/getchar.c | |
| parent | 98e71123900fbdf26a16a43297a1f58118cde41b (diff) | |
| download | rneovim-224ebc0078f29ac3189d7fbd9a59b386ae2ee303.tar.gz rneovim-224ebc0078f29ac3189d7fbd9a59b386ae2ee303.tar.bz2 rneovim-224ebc0078f29ac3189d7fbd9a59b386ae2ee303.zip  | |
insert-mode: interpret unmapped META as ESC
closes #2454
closes #8213
ref #7972
Diffstat (limited to 'src/nvim/getchar.c')
| -rw-r--r-- | src/nvim/getchar.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index 5d4e61d56a..03929a58b6 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -1577,7 +1577,7 @@ vungetc ( /* unget one character (can only be done once!) */    old_mouse_col = mouse_col;  } -/// get a character: +/// Gets a character:  /// 1. from the stuffbuffer  ///    This is used for abbreviated commands like "D" -> "d$".  ///    Also used to redo a command for ".". @@ -1595,7 +1595,7 @@ vungetc ( /* unget one character (can only be done once!) */  /// if "advance" is FALSE (vpeekc()):  ///    just look whether there is a character available.  /// -/// When "no_mapping" is zero, checks for mappings in the current mode. +/// When `no_mapping` (global) is zero, checks for mappings in the current mode.  /// Only returns one byte (of a multi-byte character).  /// K_SPECIAL and CSI may be escaped, need to get two more bytes then.  static int vgetorpeek(int advance)  | 
