What does map<C-\>^] mean?

Asked 2 years ago, Updated 2 years ago, 66 views

https://www.gnu.org/software/global/globaldoc_toc.html#Vim-editor
of
3.5.3 Usage
to

map<C-\>^]:GtagsCursor<CR>

says

<C-\>^] section, please.

I thought I would press the backslash while pressing the control key, but I don't know where to go.

Thank you for your cooperation.

vim

2022-09-30 19:22

1 Answers

The <C-\> part is, as you can guess, pressing the control key while pressing the backslash.

^] can be entered by pressing while pressing the control key.To write this control character directly to the script, Vim can enter it by pressing the <C-v><C-]>> key in insert mode.
If you really want to set it up, it would be easier to understand if you set it up using the < notation as follows:

noremap<C-\>C-]>:GtagsCursor<CR>

**At first, I mistook it for <C-[> and said it was an escape key, but I corrected it because it was wrong.


2022-09-30 19:22

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.