Home Download Buy Blog Forum Support

StickySearch

StickySearch

Postby vim on Thu Oct 22, 2009 9:02 am

StickySearch plug in:

http://www.sublimetextwiki.com/pages/StickySearch.html

# StickySearch

allows you to highlight search items, regardless of your normal (ctrl+f) search items. this plug-in search items will be kept highlighted till you manually dismiss them.

you can add markers, you can reset and clear markers.

## dependencies

this plug-in is using an experimental sublime text API, exposed on 20091017 beta.

to define what color you want to see for the marked text, you should edit your theme file, and add the following:

Code: Select all
   <dict>
      <key>name</key>
      <string>Marker</string>
      <key>scope</key>
      <string>marker</string>
      <key>settings</key>
      <dict>
         <key>fontStyle</key>
         <string></string>
         <key>foreground</key>
         <string>#FFFF77</string>
      </dict>
   </dict>


# Usage

This is the official binding:

Code: Select all
   <bindings>
      <!-- sticky search -->
      <binding key="ctrl+shift+keypad_multiply" command="stickySearch set" />
      <binding key="ctrl+shift+keypad_plus" command="stickySearch add" />
      <binding key="ctrl+shift+keypad_minus" command="stickySearch clear" />
   </bindings>


* 'set' will mark the new item, after clearing the old markers
* 'add' will mark the new item, leaving other marking as they were
* 'clear' will clean all the markings
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: StickySearch

Postby vim on Sun Oct 25, 2009 10:04 am

updated, with ability to use findNext on it, using ctrl+shift+/ (the / on keypad)

d/w link
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm


Return to Plugin Announcements

Who is online

Users browsing this forum: Yahoo [Bot] and 10 guests