>>>On 02/09/2013 10:55 AM, David Woodfall wrote: >>>> When I copy lines from one tex file, open a different one and paste >>>> I'm not getting a proper paste. Instead it pastes what looks like an >>>> escape sequence ^[. On testing it does paste into a filetype other >>>> than tex, so the yank line is working, just not the paste. >>>> >>>> What can I do to paste properly between tex files? > > I've noticed that it works when using a split window, but not when > closing vim and opening the second file, if that's any clue.
When you yank some text in vim, it puts it in a register which gets cleared when you close vim. You can do one of two things: either open both files in the same session of vim, e.g. with split windows or tags, or prepend "* to your yanking command, so that vim puts the yanked text in a register shared with the system clipboard. For more information on this, have a look look at the relevant help page [1]. Alessandro [1] http://vimdoc.sourceforge.net/htmldoc/gui_x11.html#x11-selection ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel