2 ms·
> try "+p or "* p to pull into the clipboard, try "+y or "* y Very nice. I like xsel because it gives me more flexibility and uniformity (I can pipe it to/fro
by dllthomas 14y ago
> try "+p or "* p to pull into the clipboard, try "+y or "* y
Very nice. I like xsel because it gives me more flexibility and uniformity (I can pipe it to/from whatever, and use it the same in the shell as in vim), but I'll probably wind up using the above for simple cases (especially if the xsel command I want isn't in my history for some reason).
- eieio 14y agoI made a more detailed post below, but I would think an alias to something like vim -c s/^/\\=@\* (or @\+ I'm not sure which register you'd need to use) would be your best bet for fast editing: it should let you open vim with text from your clipboard already inserted on the first line.
- slurgfest 14y agoYou are right, piping with xsel is very cool.
- ibotty 14y agoyou will need a vim with xclipboard though. (not on every server)