Friday, August 14, 2015

Configure Logitech lateral mouse button to save in Sublime text II

Trick source

In the file

   ~/.config/sublime-text-2/Packages/Default/'Default (Linux).sublime-mousemap'

Add the following entry to the JSON data:

   { "button": "button8", "modifiers": [], "press_command": "save" }

The lateral mouse button is button number 8. In order to know what are the current button numbers, use the '''xev''' utility.

No comments: