Questions tagged [visual-block]

Visual block mode enables users to copy and paste rectangular text. This mode is useful whenever a particular text is pasted to be pasted in every part of a rectangular text.

4 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
27 views

Yanking a visual block with word wrap enabled is shifted

Say I have a file with the following contents (on a single line): Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed augue ligula, venenatis et orci non, convallis congue nunc. Nam eleifend ...
0
votes
0answers
24 views

Joining multi-line block selection

I have some text like: INPUT ID : <other stuff> NEWS : maybe blank PROFILE : who knows DEL : xxx END; Then somewhere else I want to put: Begin <stuff> create ...
0
votes
0answers
21 views

Is it possible to get the line and column numbers of the corners of a visual block mode selection in Vimscript?

Suppose I select a block of text using visual block mode and I want to perform some operation on the lines surrounding it. For example, I want to surround it with a box of # characters. Note that this ...
0
votes
0answers
94 views

Blockwise pasting from "+ register not working

UPDATE: I run an X server (XQuartz 2.7.11) on MacOS, which I forward via ssh to any Linux machine I use. The problem seems to be that under XQuartz, the "+ register does not support blockwise yanking/...