aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Svetlitski <kevin_svetlitski@berkeley.edu>2021-04-01 20:50:02 -0500
committerGitHub <noreply@github.com>2021-04-01 21:50:02 -0400
commitda31f1c7dd6d9a67aa4262dc6c20e678c3469979 (patch)
tree25889fafe3ecf9ab3597f9fc534d1cd749a0f700
parenta03be1e44f93a33f3dfab2326032d2e1f3b29143 (diff)
downloadrneovim-da31f1c7dd6d9a67aa4262dc6c20e678c3469979.tar.gz
rneovim-da31f1c7dd6d9a67aa4262dc6c20e678c3469979.tar.bz2
rneovim-da31f1c7dd6d9a67aa4262dc6c20e678c3469979.zip
doc: Fix typo in the help for <Cmd> where lhs was used instead of rhs (#14272)
-rw-r--r--runtime/doc/map.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index 3ee26b0817..73ac3763d0 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -290,7 +290,7 @@ as a special key.
*<Cmd>* *:map-cmd*
The <Cmd> pseudokey begins a "command mapping", which executes the command
directly (without changing modes). Where you might use ":...<CR>" in the
-{lhs} of a mapping, you can instead use "<Cmd>...<CR>".
+{rhs} of a mapping, you can instead use "<Cmd>...<CR>".
Example: >
noremap x <Cmd>echo mode(1)<cr>
<
@@ -314,7 +314,7 @@ Note:
*E5520*
<Cmd> commands must terminate, that is, they must be followed by <CR> in the
-{lhs} of the mapping definition. |Command-line| mode is never entered.
+{rhs} of the mapping definition. |Command-line| mode is never entered.
1.3 MAPPING AND MODES *:map-modes*