mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 12:54:15 +01:00
vim: Disable middle button click
This helps prevent accidentally pasting things.
This commit is contained in:
parent
0406de2ad6
commit
e32645caf8
10
vim/.vimrc
10
vim/.vimrc
@ -107,6 +107,16 @@ set smarttab " Always indent based on column number to align t
|
||||
set mouse=a " Enable mouse support in (a)ll modes
|
||||
set number " Show numbers by default
|
||||
|
||||
" Disable middle button click
|
||||
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>
|
||||
|
||||
" ==========================
|
||||
" ========= colors =========
|
||||
" ==========================
|
||||
|
Loading…
Reference in New Issue
Block a user