Re: [Vim-latex-devel] Problem pasting between files
Brought to you by:
srinathava,
tmaas
From: Alessandro P. <ale...@la...> - 2013-02-09 10:41:28
|
>>>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 |