Pasting in command line Vim doesn't have to suck
userobsessed.net
Pasting in command line Vim doesn't have to suck
1–10 of 34 posts
Re: Pasting in command line Vim doesn't have to suck
#2Re: Pasting in command line Vim doesn't have to suck
#3And pasting to terminal Vim doesn't suck if your Vim is configured to detect mouse clicks or interface with the system clipboard. Using the system paste shortcut (command- or ctrl-V) in insert mode is not the way to do it.
Re: Pasting in command line Vim doesn't have to suck
#4When the author says "command line Vim" he means "Vim running in a terminal emulator". And pasting to terminal Vim doesn't suck if your Vim is configured to detect mouse clicks or interface with the system clipboard. Using the system paste shortcut (command- or ctrl-V) in insert mode is not the way to do it.
Re: Pasting in command line Vim doesn't have to suck
#5When the author says "command line Vim" he means "Vim running in a terminal emulator". And pasting to terminal Vim doesn't suck if your Vim is configured to detect mouse clicks or interface with the system clipboard. Using the system paste shortcut (command- or ctrl-V) in insert mode is not the way to do it.
:set pastetoggle=
Wack F5, middle-click paste away.Re: Pasting in command line Vim doesn't have to suck
#6When the author says "command line Vim" he means "Vim running in a terminal emulator". And pasting to terminal Vim doesn't suck if your Vim is configured to detect mouse clicks or interface with the system clipboard. Using the system paste shortcut (command- or ctrl-V) in insert mode is not the way to do it.
Re: Pasting in command line Vim doesn't have to suck
#7When the author says "command line Vim" he means "Vim running in a terminal emulator". And pasting to terminal Vim doesn't suck if your Vim is configured to detect mouse clicks or interface with the system clipboard. Using the system paste shortcut (command- or ctrl-V) in insert mode is not the way to do it.
:set pastetoggle= Wack F5, middle-click paste away.
Re: Pasting in command line Vim doesn't have to suck
#8When the author says "command line Vim" he means "Vim running in a terminal emulator". And pasting to terminal Vim doesn't suck if your Vim is configured to detect mouse clicks or interface with the system clipboard. Using the system paste shortcut (command- or ctrl-V) in insert mode is not the way to do it.
Re: Pasting in command line Vim doesn't have to suck
#9... and I thought it was how to paste in vim commandline after :
(normal mode)
q:
(fully vim editable window of :command line history)
(edit one of the command lines, yank and put all you like)
(or edit the new blank command line at the bottom)
(to execute the current line, or)
:q
(to quit without executing)
(normal mode)
Notice the symmetry of q: to get in, and :q to get out (if you don't execute).q/ and q? to edit and execute search history.
[edit formatting]
Re: Pasting in command line Vim doesn't have to suck
#10If you're ssh'd somewhere it's a different story. I've seen some things about sharing clipboards across shells, but I've never bothered to set it up.
Also, copy-pasta makes for bad code.