1
0

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 3 years have passed since last update.

ssh先のvimへコピペできなくなった時は?

Last updated at Posted at 2020-02-12

状況

  • サーバー
  • Debian 10
  • クライアント
  • Debian sid

ssh先でvimを開いた時、中ボタンでコピーしようとしてもコピーできず「@」などだけが出る。
ssh先へコンソールではコピーができる。

対策

その1

env TERM=vt100 vim
などで起動する。

その2

~/.vimrc に以下を追記し、vimでmouseを無効にする。

set mouse-=a

以上

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?