---------- Forwarded message ---------- From: rameo <[email protected]> Date: 21 October 2010 10:46 Subject: Re: Copy Paste Issues To: vim_use <[email protected]>
On Oct 13, 5:36 pm, Ven Tadipatri <[email protected]> wrote: > On Tue, Oct 12, 2010 at 8:42 AM, Ajay Jain <[email protected]> wrote: > > Hi, > > > I am facing quite some issues with copypasteon vim. I expected > > It looks like a lot of people are having issues with copy andpasteon vim. > I think that this is definitely an issue that needs to be addressed > with the next version of vim. > Or, what would perhaps be easier, the wiki should be updated with some > different approaches on how to get copy andpasteworking. > > > things to work nicely in the default state, but I am wrong as I > > believe we need to do some key mappings. My .vimrc is simple: It only > > Key mappings is one approach If you are able to install xclip, you > could call that whenever the desired key combo is pressed, but I had > to play around a bit with the syntax to get it to work. You could > copy in visual mode, by selecting the text you want, and running > whatever key combo you have a vmap for in your vimrc. On Windows > Cygwin, the /dev/clipboard gives you access to the clipboard, so you > can copy andpasteto it. > Another option someone suggested is running gvim -v instead of vi. I > had other issues with this, but it seemed that at least on Linux, the > + buffer was working correctly to copy andpastefrom the system > clipboard. > > > has the following line: > > source $VIMRUNTIME/vimrc_example.vim > > However, the issue is that copypastefrom Vim to Xterm does not work > > fine. I looked over the Internet to find that I need to add set > > mouse=r so that the copypastewith mouse works properly. Now I see > > that copypasteUsing Ctrl-Insert, Shift-Insert, Ctrl-Delete does not > > work properly. > > Could somebody please help me with the basic settings? What all is > > required to be put in addition to the default so that copypasteusing > > Ctrl/Shift/Insert & Mouse works seamlessly? > > I've been struggling with this for a while, and so far there doesn't > really seem to be a good, clean (as in not some elaborate clunky key > mapping in the vimrc), platform independent (works without relying on > xclip or Cygwin's clipboard) solution to get copy andpasteworking. > > > > > Regards, > > Ajay. > > Regards, > Ven I have paste issues also in vim. It makes me crazy. I dedicated so much time to make it as my editors as notepad, notepad+ + crimson, psp, which I used before. I tried all possible combinations but haven't found the solution. mswin.vim doesn't resolve things. Does anyone have the configuration to copy/cut/paste/undo as windows? I would like to know also how to map the p to P and P to p or gives that problems in other plugins? Thanks in advance. hello I found this " http://www.ukuug.org/events/linux2004/programme/paper-SMyers/Linux_2004_slides/vim_tips/ " a few weeks ago: nnoremap <F5> :set invpaste paste?<Enter> imap <F5> <C-O><F5> set pastetoggle=<F5> set pastetoggle=<F5> F5 before and after pasting maybe could help, I don't try yet, but who knows. -- 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 -- Cesar Rodriguez -- 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
