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
1 vote
1 answer

Showing virtualedit status in lightline

I've got such mapping in my vimrc: nnoremap <Leader>ve :call <SID>Toggle_ve()<CR> fun! <SID>Toggle_ve() if &ve == '' set virtualedit=all elseif &...
Enlico's user avatar
  • 2,194
0 votes
1 answer

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,622
3 votes
1 answer

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

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,478