LoginSignup
24
20

More than 5 years have passed since last update.

vimでマウスを無効にする

Last updated at Posted at 2016-09-21

概要

vimを開いている時に、マウスで範囲選択するとvisualモードになった。
この機能は今はいらないので、切る方法があるか調べた。

結論

~/.vimrc に書いても良いが、以下のように設定する

set mouse=

参照

disabling mouse support in vim in a gnome-terminal environment

追記 2016-10-06

Disable vim automatic visual mode using mouse

ここを見ると ~/.vimrc に書く方法は

set mouse-=a

すでに起動しているなら

:set mouse-=a
24
20
1

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
24
20