0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

OSX+tmux+vim環境でクリップボードを使う

0
Posted at

tmuxの設定

~/.tmux.conf
#### CLIPBORD ####
bind y run-shell 'tmux save-buffer - | reattach-to-user-namespace pbcopy'

vim

システム標準のvimをmacvimのバイナリに置き換える

brew コマンドで --override-system-vim オプション付きでインストールする

brew install macvim --override-system-vim

するとvimが/usr/local/binにインストールされるので、PATH環境変数が /usr/bin より先に /usr/local/bin を参照するようになっていれば、macvim のバイナリが使用される。

.vimrcの修正

set clipboard=unnamed

を追加

と、やったが "*Yでコピーできていないっぽい… あとで調べる。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?