Sublime Forum

Multiple selections through command palette

#1

I have such a hard time remembering how to find all occurrences in a file (https://www.sublimetext.com/docs/3/multiple_selection_with_the_keyboard.html) that I always check the website for the shortcut.

Why couldn’t I just mark the text I want to find and then Cmd+P -> “Find all”, that way I just need to remember that I want to “Find all” instead of these mystic
Windows/Linux: Alt+F3
Mac: ⌃+⌘+G

(I work both on Windows, Linux and Mac so the shortcuts being different really makes it hard to remember them in the first place)

0 Likes

#2

You can easily achieve this by creating a file called Default.sublime-commands in your Packages/User folder:

[
  { "caption": "Find All",
    "command": "find_all_under" },
]

somebody has made a feature request that all default menu entries / keybindings also be exposed in the command palette, you may want to vote it up:

1 Like

#3

You can also install this package: Missing Palette Commands

0 Likes