Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move text respecting lines as kill-rectangle and yank-rectangle do #25

Open
shackra opened this issue Sep 30, 2022 · 2 comments
Open

Move text respecting lines as kill-rectangle and yank-rectangle do #25

shackra opened this issue Sep 30, 2022 · 2 comments

Comments

@shackra
Copy link

shackra commented Sep 30, 2022

When users enter rectangle-mark-mode, move-text should respect text layout around the region marked.

@shackra
Copy link
Author

shackra commented Sep 30, 2022

edge case:

imagen

pdftotext screw these columns of text from the PDF I converted, selecting a rectangle, killing the text and yanking it in its correct place works, but sometimes you have to add spaces to match column alignment before yanking.

move-text seems to move the entire line of the rectangle region marked, carrying the white spaces on those lines with the marked rectangle.

@jasonm23
Copy link
Member

A PR to solve this would be very welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants