All Questions
Tagged with rectangle text-editing
3 questions
0
votes
2
answers
76
views
Prepend to block of text, but ignore blank lines
How to add the string 'export ' to the beginning of each line of this text,
with emacs:
RBENV_VERSION="2.n.0"
AUTHORIZE_NET_API_LOGIN_ID=example
AUTHORIZE_NET_TRANSACTION_KEY=example
# Google ...
5
votes
4
answers
675
views
Add a constant decimal value to a column of numbers
Suppose I have a file containing the following:
ATOM 10 H5 LIG 1 -0.684 2.034 0.000 1.00 0.00
ATOM 11 C1 LIG 1 0.974 0.686 0.000 1.00 0.00
ATOM 12 H1 ...
18
votes
2
answers
2k
views
How to act on rectangles beyond the end-of-line?
Here's what Vim's documentation has to say about it:
Virtual editing means that the cursor can be positioned where there is
no actual character. This can be halfway into a tab or beyond ...