Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #267036
| From | David Christensen <dpchrist@holgerdanske.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Copy from Firefox and paste into Terminal with Vim |
| Date | 2024-02-06 08:10 +0100 |
| Message-ID | <I4nKF-8eAw-5@gated-at.bofh.it> (permalink) |
| References | <I4gpP-89UC-11@gated-at.bofh.it> <I4i8i-8aYk-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2/5/24 16:48, Dan Ritter wrote: > David Christensen wrote: >> Normally, I can cut and paste between Xfce desktop applications. >> >> >> Enter a Zip Code of "12345", highlight the first result, copy it to the >> clipboard, start Terminal, open a file with Vim, press "i" to enter insert >> mode, and paste, sometimes I see what I copied to the clipboard and >> sometimes I see nothing. >> >> >> I am unable to determine if the problem is Firefox, Vim, or something else. > > Are you aware that there are at least three 'clipboards' here? > > X11 primary selection: this usually get filled by selecting text > in a terminal. It usually gets pasted by Button 2. In vim, this > is the "+ buffer. > > X11 clipboard: this usually gets filled by ctrl-c or > ctrl-shift-c or a menu "Copy". It usually gets pasted by ctrl-v > or ctrl-shift-v or a menu "Paste". In vim, this is the "* > buffer. Thank you for the reply. I was aware of the X11 clipboard and interacting with it via Edit menus, context menus (right-click), Ctrl+C, Ctrl+X, Ctrl+V, Shift+Delete, Shift+Insert, etc.. I was aware of X11 select and paste via middle-click. Please provide a URL that describes the Vim "+ and "* buffers, how to interact with them within Vim, how to interact with them from other apps, etc.. > Vim can bypass a chunk of this by combining primary and > clipboard: > > :set clipboard=unnamed,unnamedplus I entered the above command into Vim, but am unsure what behavior or change in behavior I am supposed to see (?). David
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Copy from Firefox and paste into Terminal with Vim David Christensen <dpchrist@holgerdanske.com> - 2024-02-06 00:20 +0100
Re: Copy from Firefox and paste into Terminal with Vim Bret Busby <bret@busby.net> - 2024-02-06 00:50 +0100
Re: Copy from Firefox and paste into Terminal with Vim David Christensen <dpchrist@holgerdanske.com> - 2024-02-06 01:30 +0100
Re: Copy from Firefox and paste into Terminal with Vim Dan Ritter <dsr@randomstring.org> - 2024-02-06 02:10 +0100
Re: Copy from Firefox and paste into Terminal with Vim David Christensen <dpchrist@holgerdanske.com> - 2024-02-06 08:10 +0100
Re: Copy from Firefox and paste into Terminal with Vim Dan Ritter <dsr@randomstring.org> - 2024-02-06 12:40 +0100
Re: Copy from Firefox and paste into Terminal with Vim Greg Wooledge <greg@wooledge.org> - 2024-02-06 13:50 +0100
Re: Copy from Firefox and paste into Terminal with Vim David Christensen <dpchrist@holgerdanske.com> - 2024-02-07 08:10 +0100
Re: Copy from Firefox and paste into Terminal with Vim Greg Wooledge <greg@wooledge.org> - 2024-02-07 13:30 +0100
Re: Copy from Firefox and paste into Terminal with Vim Max Nikulin <manikulin@gmail.com> - 2024-02-07 13:50 +0100
Re: Copy from Firefox and paste into Terminal with Vim Max Nikulin <manikulin@gmail.com> - 2024-02-06 04:10 +0100
Re: Copy from Firefox and paste into Terminal with Vim David Christensen <dpchrist@holgerdanske.com> - 2024-02-06 07:30 +0100
Re: Copy from Firefox and paste into Terminal with Vim Greg Wooledge <greg@wooledge.org> - 2024-02-06 13:30 +0100
Re: Copy from Firefox and paste into Terminal with Vim Max Nikulin <manikulin@gmail.com> - 2024-02-06 15:40 +0100
Re: Copy from Firefox and paste into Terminal with Vim Greg Wooledge <greg@wooledge.org> - 2024-02-06 16:00 +0100
Re: Copy from Firefox and paste into Terminal with Vim Max Nikulin <manikulin@gmail.com> - 2024-02-06 18:10 +0100
Re: Copy from Firefox and paste into Terminal with Vim Nicolas George <george@nsup.org> - 2024-02-06 18:40 +0100
xterm PRIMARY and CLIPBOARD selection [was: Re: Copy from Firefox and paste into Terminal with Vim] Max Nikulin <manikulin@gmail.com> - 2024-02-07 04:30 +0100
Re: xterm PRIMARY and CLIPBOARD selection [was: Re: Copy from Firefox and paste into Terminal with Vim] Nicolas George <george@nsup.org> - 2024-02-07 13:30 +0100
Re: xterm PRIMARY and CLIPBOARD selection [was: Re: Copy from Firefox and paste into Terminal with Vim] Stefan Monnier <monnier@iro.umontreal.ca> - 2024-02-07 14:20 +0100
Re: xterm PRIMARY and CLIPBOARD selection [was: Re: Copy from Firefox and paste into Terminal with Vim] debian-user@howorth.org.uk - 2024-02-07 21:20 +0100
Re: xterm PRIMARY and CLIPBOARD selection [was: Re: Copy from Firefox and paste into Terminal with Vim] Max Nikulin <manikulin@gmail.com> - 2024-02-07 18:10 +0100
C-Ins vs. C-c [was: xterm PRIMARY and CLIPBOARD selection] Firefox and paste into Terminal with Vim] <tomas@tuxteam.de> - 2024-02-07 19:50 +0100
Re: Copy from Firefox and paste into Terminal with Vim debian-user@howorth.org.uk - 2024-02-06 16:40 +0100
Re: Copy from Firefox and paste into Terminal with Vim Greg Wooledge <greg@wooledge.org> - 2024-02-06 17:10 +0100
Re: Copy from Firefox and paste into Terminal with Vim David Christensen <dpchrist@holgerdanske.com> - 2024-02-07 08:30 +0100
Re: Copy from Firefox and paste into Terminal with Vim Max Nikulin <manikulin@gmail.com> - 2024-02-06 15:30 +0100
Re: Copy from Firefox and paste into Terminal with Vim David Christensen <dpchrist@holgerdanske.com> - 2024-02-07 09:30 +0100
Re: Copy from Firefox and paste into Terminal with Vim <tomas@tuxteam.de> - 2024-02-06 06:50 +0100
Re: Copy from Firefox and paste into Terminal with Vim David Christensen <dpchrist@holgerdanske.com> - 2024-02-06 08:10 +0100
Re: Copy from Firefox and paste into Terminal with Vim <tomas@tuxteam.de> - 2024-02-06 09:00 +0100
Re: Copy from Firefox and paste into Terminal with Vim Klaus Singvogel <deb-user-ml@singvogel.net> - 2024-02-06 09:20 +0100
Re: Copy from Firefox and paste into Terminal with Vim David Christensen <dpchrist@holgerdanske.com> - 2024-02-07 08:30 +0100
Re: Copy from Firefox and paste into Terminal with Vim John Hasler <john@sugarbit.com> - 2024-02-06 14:50 +0100
Re: Copy from Firefox and paste into Terminal with Vim David Christensen <dpchrist@holgerdanske.com> - 2024-02-07 08:50 +0100
Re: Copy from Firefox and paste into Terminal with Vim Ralph Aichinger <ra@h5.or.at> - 2024-02-06 13:00 +0100
Re: Copy from Firefox and paste into Terminal with Vim Max Nikulin <manikulin@gmail.com> - 2024-02-06 15:40 +0100
Re: Copy from Firefox and paste into Terminal with Vim <tomas@tuxteam.de> - 2024-02-06 15:40 +0100
Re: Copy from Firefox and paste into Terminal with Vim Ralph Aichinger <ra@h5.or.at> - 2024-02-06 19:00 +0100
Re: Copy from Firefox and paste into Terminal with Vim Max Nikulin <manikulin@gmail.com> - 2024-02-07 04:30 +0100
Re: Copy from Firefox and paste into Terminal with Vim David Christensen <dpchrist@holgerdanske.com> - 2024-02-07 08:40 +0100
Re: Copy from Firefox and paste into Terminal with Vim David Christensen <dpchrist@holgerdanske.com> - 2024-02-07 07:40 +0100
csiph-web