aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/visual.txt
diff options
context:
space:
mode:
authorMatt Wozniski <godlygeek@gmail.com>2020-10-04 02:37:45 -0400
committerMatt Wozniski <godlygeek@gmail.com>2020-10-05 15:27:04 -0400
commit2f06413dfb3624381f112b7d8661fde659c279e7 (patch)
tree59279a7d604e0eae8651dc140d1431e863a9d1a3 /runtime/doc/visual.txt
parentf6ac375604238c94d3dc3eeb9b82e67417460806 (diff)
downloadrneovim-2f06413dfb3624381f112b7d8661fde659c279e7.tar.gz
rneovim-2f06413dfb3624381f112b7d8661fde659c279e7.tar.bz2
rneovim-2f06413dfb3624381f112b7d8661fde659c279e7.zip
Treat unmapped ALT/META as ESC+c in all modes
In #8226 <A-x> and <M-x> were changed to behave like <Esc>x in insert mode when no mapping exists. This commit backs out that change and replaces it with a more general one that makes unmapped ALT and META keypresses as <Esc>+char in all modes. This fixes an unnecessary and confusing inconsistency between modes.
Diffstat (limited to 'runtime/doc/visual.txt')
-rw-r--r--runtime/doc/visual.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/doc/visual.txt b/runtime/doc/visual.txt
index 0052382044..fd3d93ed98 100644
--- a/runtime/doc/visual.txt
+++ b/runtime/doc/visual.txt
@@ -159,7 +159,10 @@ If you want to highlight exactly the same area as the last time, you can use
*v_<Esc>*
<Esc> In Visual mode: Stop Visual mode.
-
+ *v_META* *v_ALT*
+ ALT (|META|) acts like <Esc> if the chord is not mapped.
+ For example <A-x> acts like <Esc>x if <A-x> does not have a
+ visual-mode mapping.
*v_CTRL-C*
CTRL-C In Visual mode: Stop Visual mode. When insert mode is
pending (the mode message shows