Reputation: 4781
Can Sublime Text plugins handle event of
If yes, how can my plugin handle these?
Upvotes: 2
Views: 497
Reputation: 14179
Yes -- using key bindings, which can be assigned in yourplugin/Default (platform).sublime-keymap
.
You can also assign/customize global User Bindings (e.g. keyboard or mouse shortcuts) by creating (or modifying the existing) Default.sublime-keymap
file in your Packages/User/
directory.
Upvotes: 1