Tuesday, October 5, 2010

Re: paste in vim creates stupid result

Hi,

:verbose set paste?

This command results in the word 'paste' shown at the bottom of the vim window.


The 'paste' option doesn't "enable" pasting.  It means to treat characters literally, and to not apply formatting options (like 'ai' and 'fo').

Shift+middle-click in xterm "pastes" (as in: sends the characters to Vim) regardless of Vim's settings.  With :set mouse=a, you shouldn't need to use 'shift-'.
 
But I do need to use the shift key. It's a fact for me even with 'set mouse=a'.
 

With xterm, you might need to set the '*allowWindowOps' resource (That was required for me on Gentoo using an at-the-time very new version of XTerm.).  See one of my responses in a previous thread about this problem:
http://groups.google.com/group/vim_use/browse_thread/thread/bc916d611971d204


So you mean my problem need some other changes, related to xterm etc? Why do I need that? I just can copy from/to between: emacs, xterms (different computers, different operating systems, does not matter at all), browser edit windows etc...
Maybe you could elaborate that point a bit? It seems that vim is not that smart at all in the end....



Thanks
  Alex
 

--
Best,
Ben


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: