[nSLUG] copy/paste...web-->vim...unexpected results

Ben Armstrong synrg at sanctuary.nslug.ns.ca
Sun Feb 4 15:57:56 AST 2007


On Sun, 4 Feb 2007 11:30:16 -0400
"Robert Ashley" <rb.ashley at gmail.com> wrote:
> The only issue left now is how to paste text (e.g. a web page excerpt
> of text, not the whole page) into vim on the console.

Either select the text and then paste the selection register in vim, or select and copy (or cut) the text, normally via ^C (or ^X), and then paste the system clipboard in vim:

"+p             for the system clipboard
"*p             for the selection register

See:

http://www.vim.org/htmldoc/gui_x11.html#x11-selection

Or see "help x11-selection" from within vim.

Ben
--
 ,-.  nSLUG    http://www.nslug.ns.ca   synrg at sanctuary.nslug.ns.ca
 \`'  Debian   http://www.debian.org    synrg at debian.org
  `          [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ]
             [ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9 39 4F ]

!DSPAM:45c63ac923092103216567!




More information about the nSLUG mailing list