4 ms·
I have xclip installed (it copies/pastes from the X11 clipboard as a commandline utility), and having long had 'xc' and 'xp' shell scripts, finally added 'xpc'
by dredmorbius 13y ago
I have xclip installed (it copies/pastes from the X11 clipboard as a commandline utility), and having long had 'xc' and 'xp' shell scripts, finally added 'xpc' to paste from the 'CLIPBOARD' buffer after getting frustrated once too often that I wasn't able to do so.
I'll use these to "read in" files:
xc < filename
And then in vim (faster than toggling paste mode):
r ! xp
or
r ! xpc # for CLIPBOARD buffer
- marmaduke 13y agohm, why not just "+P ?
- dredmorbius 13y agoThat doesn't seem to paste from the X11 primary clipboard buffer. It's also a double pinky keystroke with a shift required (on QWERTY). Really awkward to type. Try ':0r ! xp' It does pretty much roll off your fingers.