ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Missing​Find​Panel​Keys

by mattst ST2/ST3

A Sublime Text 3 package which provides key bindings for the find panel buttons which are not assigned keys in the default Sublime Text keymap files.

Labels search

Details

Installs

  • Total 120
  • Win 65
  • OS X 32
  • Linux 23
Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2
Windows 0 0 0 0 3 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Linux 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Missing Find Panel Keys (Sublime Text Package)

Overview

Missing Find Panel Keys is a Sublime Text package which provides key bindings for the find panel toggle buttons which are not assigned keys in the default Sublime Text keymap files.

Key bindings added for the Find, Replace, and Incremental Find Panels:

  • Toggle Wrap
  • Toggle Highlight
  • Toggle In Selection

Key bindings added for the Find in Files Panel:

  • Toggle Use Buffer
  • Toggle Show Context

Information about the other Find in Files Panel buttons:

  • Dev Build 3133 added key bindings for the Find in Files panel Find and Replace buttons. It is not possible to add key bindings for those buttons to versions earlier than 3133 because no commands existed to perform their actions.
  • No key binding can be added for the Find in Files panel button, labelled '...', which adds items to the Where text box, because there is no command currently available to launch that action in any version of Sublime Text.
  • For mouse-less operation users should note that Tab can be pressed to focus the Where text box at which point its history can be scrolled through using the Up/Down keys and deleting its contents will revert it to its Open Files and Folders default.

Requirements

  • Sublime Text version 2 or 3

Installing

Use Package Control:

  • Open the command palette and select: Package Control: Install Package
  • Wait for the package list to be updated and then select: MissingFindPanelKeys

Users can, if they prefer, download the zip file and then install it manually; MissingFindPanelKeys.sublime-package should be used as the installed package file name or, if unzipping for folder installation, then MissingFindPanelKeys should be used as the folder name.

Key Bindings

The key bindings are only active when one of the find panels is focused.

If the first letter of the button's action can not be used for the key binding then the action's last letter is used instead because that is easy to remember. The following key bindings use the last letter instead of the first:

  • P is used to toggle Wrap since W is already used by toggle_whole_word
  • T is used to toggle Show Context since C is already used by toggle_case_sensitive
  • OSX Only: N is used to toggle In Selection since S is used by save_all (which must remain active)

Linux and Windows

For the Find, Replace, and Incremental Find Panels
--------------------------------------------------
Toggle Wrap                       Alt+P
Toggle In Selection               Alt+S
Toggle Highlight Matches          Alt+H
--------------------------------------------------

For the Find in Files Panel
--------------------------------------------------
Toggle Use Buffer                 Alt+B
Toggle Show Context               Alt+T
--------------------------------------------------

OSX

For the Find, Replace, and Incremental Find Panels
--------------------------------------------------
Toggle Wrap                       Super+Alt+P
Toggle In Selection               Super+Alt+N
Toggle Highlight Matches          Super+Alt+H
--------------------------------------------------

For the Find in Files Panel
--------------------------------------------------
Toggle Use Buffer                 Super+Alt+B
Toggle Show Context               Super+Alt+T
--------------------------------------------------

Changing the Keys

To change the keys just copy and paste the relevant binding from the default keymap file, Menu --> Preferences --> Package Settings --> MissingFindPanelKeys --> Key Bindings - Default / GitHub links Linux.sublime-keymap), OSX.sublime-keymap), Windows.sublime-keymap), into your user keys file and change the keys to whatever you want.

Note that the PackageResourceViewer plugin allows package changes to be made with speed and ease, installing and learning how to use it saves a lot of time in the long run.

License

This package is licensed under The MIT License (MIT).