English 中文(简体)
How to share clipboard between tmux/vim and osx
原标题:

I found solution for iterm+vim here -> Vim: copy selection to OS X clipboard

Now i use fakeclip, and it work in vim directly, but not when i use tmux to split terminal window.

问题回答

Latest beta of iTerm2 has built-in tmux integration, which would take care of this.

fakeclip has been updated to work with both tmux and with screen:

  • v0.2.5 : added tmux support. (2009-11-11)
  • v0.2.10 : added a fix for tmux when screen is also installed. (2012-01-21)




相关问题
Copy text from Vim 7.2 running in xterm to windows clipboard

I m using Vim 7.2 , compiled with +xterm_clipboard , in a xterm through putty . I ve put set clipboard=unnamed in .vimrc , and from what i ve read in other threads , this should put all yanks/deletes ...

putting a stream in the clipboard

Lets begin with the final goal - I need to able to paste a file into the local file system, that is obtained from a web response stream. I think that the best course of action is to somehow put ...

Send selected text to a command line argument

I found this utility, pytranslate, which translates a variety of languages into each other using Google s translation API. It works exactly as described. However I ve gotten sick of selecting a word ...

JTextArea.copy() clipboard cleared when program exits

I have a JDialog with a JTextArea component. This dialog shows the user what arguments to use when running the program to have it run the mode they just set up. I have a button on the dialog to copy ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

热门标签