7 ms·
Sure, that works great if you want to reach for the mouse.
by joefiorini 15y ago
Sure, that works great if you want to reach for the mouse.
- jrockway 15y agoPretty sure vi does not care about, or is even able to detect, the difference between a middle-mouse and a shift-insert paste.
- pyre 15y agoUnless your terminal emulator has mouse support and you ':set mouse=a' in Vim.
- irahul 15y agoAs mentioned elsewhere, if your vim is compiled with clipboard support(:version and look for +clipboard), you can copy/paste from the clipboard. * is the Linux selection register. + is your clipboard. So yanking is just set paste, "+y or " * y, set nopaste. Similarly you can do a "+d in vim and ctrl-v it in your browser or anywhere you can access the clipboard. You can " * d/" * y and paste it with your middle mouse button.
- burgerbrain 15y agoThe mouse has nothing to do with it... If you paste method doesn't let vim know what's going on, use pastetoggle, otherwise don't.
- jdj 15y agoOr you can use shift+insert.