On Sublime Text running on Windows the Middle Mouse button acts as select range, on Linux its Shift+Right click. How can I set the middle mouse button to be select range on Linux? Specifically Sublime Text 3 on Ubuntu?
Change middle mouse button in Sublime Text
mousesublime-textsublime-text-2sublime-text-3
Best Answer
You need to create a custom mouse map in Linux and add the relevant bindings that define the Windows behavior. In Sublime, create a new file with JSON syntax and the following contents:
Then, save the file as
~/.config/sublime-text-3/Packages/User/Default (Linux).sublime-mousemap
. You should now be able to mimic the Windows middle mouse functionality in Linux.Notes:
~/Library/Application Support/Sublime Text 3/Packages/User/Default (OSX).sublime-mousemap
(note theOSX
in the parentheses instead ofLinux
).