Help us understand the problem. What is going on with this article?

gvim上でマウスの中ボタンによる貼り付けを無効化したい

More than 5 years have passed since last update.

Thinkpadユーザーなのでスクロールしようとしたらgvimに貼り付けられたりしてたので対策を調べた
結果としては、以下を.gvimrcに書くだけ

.gvimrc
map <MiddleMouse> <Nop>
imap <MiddleMouse> <Nop>
map <2-MiddleMouse> <Nop>
imap <2-MiddleMouse> <Nop>
map <3-MiddleMouse> <Nop>
imap <3-MiddleMouse> <Nop>
map <4-MiddleMouse> <Nop>
imap <4-MiddleMouse> <Nop>

参考
http://www.not-enough.org/abe/manual/comm/tips.html

A_souju
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away