Trailing whitespace in vim

Apr 16, 2024 15:26

Problem:
When copying from tmux in gnome-terminal, the text is full of whitespace. How do I delete it in gvim?

Solution:
/ \+$

Obviously.

This is an area where tmux is a big regression from screen. Too bad.

Leave a comment

Comments 3

suvorow_ April 16 2024, 20:38:57 UTC
Trailing?

Reply

zaitcev April 16 2024, 21:20:34 UTC

Yes, thanks.

Reply


b0p0h0k April 17 2024, 02:44:02 UTC

le circumsizes trailing whitespace without ever asking me. :)

Reply


Leave a comment

Up