/BetterFindBuffer

Adds a couple of missing features to SublimeText 3 Find Results buffer

Primary LanguagePythonMIT LicenseMIT

BetterFindBuffer for SublimeText 3

Adds a couple of missing features to SublimeText Find Results buffer.

Note: You need to restart your SublimeText after installing this plugin.

Features

  • Open the the file and line under the cursor by pressing Enter or o
  • n and p to jump to next/previous file
  • j and k to jump to next/previous match
  • Open multiple files with multiple cursor at the same time by selecting lines and pressing Enter or o
  • Open all files in the result with a
  • Fold a result with f and move to next file
  • Show shortcuts with ?
  • Remove path prefix in filenames based on open sublime's project folders (can be disabled in settings)
  • Set find results as readonly (can be disabled in settings)
  • Adds search keyword and file names to the symbols list (use Super+R)
  • Cleaner UI (hides line numbers, gutter, indent guides)
  • Better Syntax highlighting for find results
  • Custom color scheme

BetterFindBuffer Screenshot1

BetterFindBuffer Screenshot2

Installation

You can install via Sublime Package Control Or you can clone this repo into your Sublime Text Packages folder.

Changing color scheme

If you don't like colors used in the find results buffer just copy this file to your User folder, change colors and save it and then create a file called Find Results.sublime-settings in your User folder and paste the code below:

{
  "color_scheme": "Path to your custom color scheme file. e.g. Packages/User/Custom_FindResults.hidden-tmTheme",
}

Alternatively, you can use BetterFindBuffer-Designer tool as GUI to easily customize the Find-Results color scheme.

Credit

FindInFilesOpenFileCommand is inspired by this answer on StackOverflow

License

See the LICENSE file