LoginSignup
57

More than 5 years have passed since last update.

tmuxのコピーモードを使わずに任意の範囲選択をする

Posted at

環境

  • MacOS 10.9.5
  • iTerm2
  • vim8.0

こんなシーンありませんか

tmuxなどを使って画面を縦分割しているときに、左半分の画面をマウスを使ってコピーしたい。でもマウスからコピーすると右側の画面も選択範囲になってしまう。
Screen Shot 2016-10-16 at 15.18.35.png

def foo ~ endだけをコピーしたいのに!!

解決策

Command + optionを押しながら範囲選択をする。
すると次のようにdef foo ~ endだけを選択できる。
a3420d3c866be6aba9c4ad63a88e20d0.gif

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
57