Thursday, May 12, 2016

Re: What is the special key mark in the Vim macro?

Hi 李哲!

On Do, 12 Mai 2016, 李哲 wrote:

> 在 2016年5月13日星期五 UTC+8下午2:08:44,李哲写道:
> > I want to edit the macro in my Vim but I don't know how to write the special key in Vim macro
> > like : ESC, backspace, and so on. ?
>
> I tried <BS>. <Backspace>, and `<80>k` but it doesn't work here.

If you are editing a macro like
:let @q="foobar"

You can add special keys literally by first pressing ctrl-v before
adding your key. See :h i_CTRL-V


Best,
Christian
--
Zehn Küsse werden leichter vergessen als ein Kuß.
-- Jean Paul

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment