As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [virtualedit]

Questions about the usage of the option `'virtualedit'`. Virtual editing means that the cursor can be positioned where there is no actual character. This can be halfway into a tab or beyond the end of the line. Useful for selecting a rectangle in Visual mode and editing a table.

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

virtual replacement by string not cchar

the virtual text makes vim/neovim very powerful I want to use the conceallevel to change some text virtually, using the regex or treesitter replace > with one char: ▶ " vim > > > :...
nextloop's user avatar
0 votes
1 answer
63 views

Cursor can sit in unreachable columns

Some recent plugin or Vim upgrade appears to have enabled a new feature: When moving up/down or clicking, the cursor can now rest anywhere in the window, including over character cells far to the ...
joeytwiddle's user avatar
  • 3,552
3 votes
1 answer
1k views

Difference between `virtual column number` and `column number` in statusline

What's the difference between virtual column number and column number (%v and %c respectively) in the statusline? Is it like virtualedit, where the virtual column number counts the position of the ...
Alexej Magura's user avatar
4 votes
1 answer
481 views

Visual block insert into multiple areas with no text with virtualedit=all

When I do a visual block insert with virtualedit=all I want to insert into all selected lines regardless of what text is already in those lines. Instead the behavior I get is that the line where I ...
Praxeolitic's user avatar
  • 2,388