Skip to content

How to yank then paste line by line #439

Answered by Linerre
dragove asked this question in Q&A
Discussion options

You must be logged in to vote

In Emacs terms, what you want to achieve is called "Rectangles" (see 12.5 Rectangles).

I doubt that Meow alone can do this (as it is not particularly designed for such tasks). But Meow does not modify Emacs's default key bindings, so you can rely on Emacs's default way:

  1. Move your point (cursor) to the beginning of word one
  2. Press C-x SPC to activate rectangle-mark-mode
  3. Keep pressing C-n (3 times) to move the point to letter f of five
  4. Keep pressing C-f (or C-e then C-f) to expand the rectangular region to include all the three words and one space character after three:
one   |
three |
five  |

In the above text area, | represents the rectangle's right margin. In Emacs, this selected/marke…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dragove
Comment options

Answer selected by dragove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants