Sublime Forum

More shortcut

#1

Hi
I’m using now sublim text 3, its amazing for coding, however what about adding more shortcut?
when programming you should have direct access to some functionality like open, close all windows, search etc… without going in the menu bar.
thanks

0 Likes

#2

Assign your own shortcuts in: <Key Bindings - User>. You’ll find the commands from menu in the *.sublim-menu files.
i.e. “Close all files”

{ "command": "close_all", "caption": "Close All Files" },

Unzip “\SublimeText\Packages\Default.sublime-package” and have a look to the sublim-menu files, especially to Main.sublim-menu.

0 Likes

#3

You can add Close All to the context menu that appears when you right-click a tab by adding this to Packages\User\Tab Context.sublime-menu:


    { "command": "close_all", "caption": "Close All" }
]

It appears at the bottom, but at least the functionality is where you expect it.

0 Likes