Invisible wrote:
...
> One feature I actually *want* and that no known editor seems to have is
> the ability to do stuff to tabular data easily. Like, if you suddenly
> decide that you need to append the same piece of text to all 10 lines.
...
If you do the following keystrokes:
C-home // beginning-of-buffer
down // next-line
C-k // kill-line
C-y // yank
down // next-line
C-x ( // start-kbd-macro
down // next-line
C-e // move-end-of-line
C-y // yank
C-x ) // kmacro-end-macro
C-u // universal-argument
9 // 9
C-x e // kmacro-end-and-call-macro
- while editing this text:
This is the first line in buffer.
This is the text to be appended.
Line A.
Line B.
Line C.
Line D.
Line E.
Line F.
Line G.
Line H.
Line I.
Line J.
- you get this:
This is the first line in buffer.
This is the text to be appended.
Line A.This is the text to be appended.
Line B.This is the text to be appended.
Line C.This is the text to be appended.
Line D.This is the text to be appended.
Line E.This is the text to be appended.
Line F.This is the text to be appended.
Line G.This is the text to be appended.
Line H.This is the text to be appended.
Line I.This is the text to be appended.
Line J.This is the text to be appended.
--
Tor Olav
http://subcube.com
Post a reply to this message
|