[vim/vim] Fix typo in "index.txt" (#1123)

31 views
Skip to first unread message

guraga

unread,
Sep 27, 2016, 1:24:35 AM9/27/16
to vim/vim

Replace "c_" on "c_CTRL-M".


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/1123

Commit Summary

  • Fix typo in "index.txt"

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub

Christian Brabandt

unread,
Sep 27, 2016, 2:51:24 AM9/27/16
to vim/vim

That is not correct, there is no matching c_CTRL-M tag, so this change means you couldn't jump there. I think, it is correct as is.

guraga

unread,
Sep 27, 2016, 6:46:59 AM9/27/16
to vim/vim
  • [cmdline.txt] Add tag "c_CTRL-M".
  • [index.txt] Replace "c_<CR>" on "c_CTRL-M".
  • [cmdline.txt] Add tag "c_CTRL-[".
  • [index.txt] Replace "c_<Esc>" on "c_CTRL-[".
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index 4427541..8564e91 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -229,9 +229,12 @@ CTRL-Y     When there is a modeless selection, copy the selection into
        the clipboard. |modeless-selection|
        If there is no selection CTRL-Y is inserted as a character.

-CTRL-J                 *c_CTRL-J* *c_<NL>* *c_<CR>* *c_CR*
-<CR> or <NL>   start entered command
-                           *c_<Esc>* *c_Esc*
+CTRL-J                     *c_CTRL-J*
+CTRL-M                     *c_CTRL-M*
+<CR> or <NL>               *c_<NL>* *c_<CR>* *c_CR*
+       start entered command
+
+CTRL-[                     *c_CTRL-[* *c_<Esc>* *c_Esc*
 <Esc>      When typed and 'x' not present in 'cpoptions', quit
        Command-line mode without executing.  In macros or when 'x'
        present in 'cpoptions', start entered command.
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index 8b024f8..8662500 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -1002,7 +1002,7 @@ tag       command       action in Command-line editing mode   ~
 |c_CTRL-L| CTRL-L      do completion on the pattern in front of the
                cursor and insert the longest common part
 |c_<CR>|   <CR>        execute entered command
-|c_<CR>|   CTRL-M      same as <CR>
+|c_CTRL-M| CTRL-M      same as <CR>
 |c_CTRL-N| CTRL-N      after using 'wildchar' with multiple matches:
                go to next match, otherwise: same as <Down>
        CTRL-O      not used
@@ -1026,7 +1026,7 @@ tag       command       action in Command-line editing mode   ~
        CTRL-Y      copy (yank) modeless selection
        CTRL-Z      not used (reserved for suspend)
 |c_<Esc>|  <Esc>       abandon command-line without executing it
-|c_<Esc>|  CTRL-[      same as <Esc>
+|c_CTRL-[| CTRL-[      same as <Esc>
 |c_CTRL-\_CTRL-N| CTRL-\ CTRL-N    go to Normal mode, abandon command-line
 |c_CTRL-\_CTRL-G| CTRL-\ CTRL-G    go to mode specified with 'insertmode',
                abandon command-line

Bram Moolenaar

unread,
Sep 27, 2016, 4:54:20 PM9/27/16
to vim/vim

Closed #1123.

Bram Moolenaar

unread,
Sep 27, 2016, 4:54:24 PM9/27/16
to vim/vim

OK, I'll include it.

Reply all
Reply to author
Forward
0 new messages