普段はvimなのでvimを入れたのだが、visualモードになってしまってめんどくさかった
.vmrcに set mouse= を設定しても効かなかった
どうやら
/usr/share/vim/vim90/defaults.vim
の設定が効いているっぽいので、こっちの設定をコメントアウトしてやったわ
具体的には
77 " In many terminal emulators the mouse works just fine. By enabling it you 78 " can position the cursor, Visually select and scroll with the mouse. 79 " Only xterm can grab the mouse events when using the shift key, for other 80 " terminals use ":", select text and press Esc. 81 if has('mouse') 82 if &term =~ 'xterm' 83 set mouse=a 84 else 85 set mouse=nvi 86 endif 87 endifを
77 " In many terminal emulators the mouse works just fine. By enabling it you 78 " can position the cursor, Visually select and scroll with the mouse. 79 " Only xterm can grab the mouse events when using the shift key, for other 80 " terminals use ":", select text and press Esc. 81 " if has('mouse') 82 " if &term =~ 'xterm' 83 " set mouse=a 84 " else 85 " set mouse=nvi 86 " endif 87 " endif
とコメントアウト
0 件のコメント:
コメントを投稿