Skip to content

Comment on Configuring Sublime Text 2

Comments

Another useful tip for navigation - when using the fuzzy search, you can start typing a filename to jump to that file, then with that still in the search box, hit # and start typing a keyword to jump to in that file.

So if you wanted to find something with the class btn_order in index.aspx, in Windows you'd hit CTRL-P and type "index#btn", hit enter, and there you are. You can of course scroll up/down through the available files matching the filter before you hit # -- the keyword search applies to the currently selected file.

An even better one IMO is @, same thing as with # but it uses symbols.

Or : to jump to a line number. Beautiful.

CTRL+G in Windows.

(this is when in the Ctrl+P fuzzy-file-search box, so the colon : in that context also jumps to the line number in the found file)

You can get that via Ctrl-R (or Cmd, if on a Mac).

Ctrl-; brings up fuzzy matching for words in the file.

Cmd-R is just for jumping to symbols in the current file, Cmd-T+@ to jump to a symbol on any given file.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.