Vim copy and paste between remote vim instances using tmux -
working on remote server cannot copy , paste between 1 vim instance , another. have installed gvim +clipboard, along xclip. use tmux split panes, , work concurrently.
in vimrc set clipboard+=unnamedplus
i tried copying y , "+y , "*y, , paste p, "*p, "+p, , ctrl+shift+v.
i'm confused why not working now, maybe x11 problem. robust way can set copy , paste between 2 panes on remote tmux?
i have been using
" copy paste on system clipboard function func2x11() :call system('xclip -selection c', @r) endfunction vnoremap <f9> "ry:call func2x11()<cr>
Comments
Post a Comment