Questions tagged [mode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 views

Why does vim insert an underlined e that can only be escaped with <esc>?

It seems like I have found a really strange mode by accident in vim, if you hit <C-;> in vim, it replaces whatever character at the cursor with an underlined e, and if I type it, it replaces ...
user avatar
1 vote
1 answer
52 views

Search for ^@ in register '+'

After yanking into register + from Visual Block mode, the lines break are marked with ^@. I would like to detect this character, but I can't.. For example, if register + contains ^@ as shown below ...
xyx's user avatar
  • 388
0 votes
1 answer
99 views

How to set the mode from a vimscript?

If I save the result of :call mode() in a variable, how can I restore that mode later?
theonlygusti's user avatar
  • 2,229