Re: issues using vim under screen

ping <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
I killed all windows and re-build everything from scratch. it looks find 
now.
and I realized everytime after I re-apply my .vimrc to a vim window, the 
issue appears to that vim instance...so it looks more like a vim issue here.

I'm doubting these are the culprit in my .vimrc, but I don't quite 
understand vim script although I use vim daily...

if match($TERM, "screen")!=-1
   set term=xterm
   let g:GNU_Screen_used = 1
else
   let g:GNU_Screen_used = 0
endif


//is these the problem maker?
" Screen-ify an external command.
function! InScreen(command)
   return g:GNU_Screen_used ? 'screen '.a:command : a:command
endfunction


regards
ping

On 07/14/2011 03:32 PM, ping wrote:
> I'm a heavy vim and screen user, and I find it real convenient to 
> combine this two great tools -- running vim under screen.
> but there is one annoying issue about this method in my PC: from time 
> to time I find I can't copy/paste X/system buffer from/to vim anymore- 
> to be more specific: the issue is I can't issue keybind "+p (or "*p) 
> or "+y(or "*y) in vim...this make it hard to use vim under screen. I 
> know there is screen solution of copy/paste among sessions, but I 
> really want to make vim communicate with other programs outside of 
> screen more directly.
>
> and, the even strange symptom is: it started to be good, but then 
> after some days, I can't do it anymore. But at this time if I start a 
> new fresh screen and run vim inside it, the copy/paste actually works. 
> this happened for a couple of times. I guess the issue will always 
> appear after some time I started my vim+screen sessions...
>
> anyone use vim under screen and had any experiences on this?
>
> I did some research, previously I had an impression that this works 
> for me,  but it looks I'm now still having this issue from time to time.
> http://vim.wikia.com/index.php?title=GNU_Screen_integration
>
> and this plugin seems unrelated to my issue.
> http://www.vim.org/scripts/script.php?script_id=2711
>
> thanks in advance!
>
>
>
>

_______________________________________________
screen-users mailing list
screen-users-mXXj517/[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.