Only discovered ST a couple of weeks ago and Iām already in love. Previously I used ultraedit which is a great editor but ST has all that it does, is just as fast and is so much more extensible and pretty.
The thing I missed the most was being able to press F3 to search for whatever text was selected. If nothing is selected it searches for whatever you last searched for in the find panel. Iāve put together a really simple plugin to match this functionality and itās up here: github.com/CodeEffect/FindSelected My python is a little rusty as itās been a while so your comments /feature requests / bugs / suggestions would be very much appreciated. Hereās the bumf:
[quote]Two additional search methods are available:
find_selected_next - If some text is selected then it is searched for and the cursor highlights the next occurrence of the text. If no text is selected then depending on the passed argument we either search for the last Find search term (ālast_searchā) or the clipboard (āclipboardā).
find_selected_previous - As above but we search backwards
This package doesnāt really add much in the way of new functionality, it just makes available existing functionality under one method or keypress. Previously to search for the last search term you would call the āfind_nextā method or to search for selected text you would call the āfind_underā method. Now you can just call the āfind_selectedā method and depending on whether text is selected or not the appropriate built-in method is called for you. Itās a somewhat trivial change in behaviour but one I found that I missed greatly when migrating from UltraEdit. There is also the added ability to search for whatever is on the clipboard in one keypress.[/quote]
I canāt believe that the second plugin doesnāt exist in one form or another as it seemed like such an obvious requirement but I was unable to find anything after a quick google search (cue links to 10 other similar plugins ). Bound Keys github.com/CodeEffect/BoundKeys lists all key combinations from installed plugins (that arenāt ignored) from your platform. It presents the data in a sort of table and lists key combination, command, arguments and clashes with other key combinations including whether or not itās been overridden and if so by which file. Again, any feedback / comments etc is very much appreciated. My next task will be to give it a bit of colour so if anyone has suggestions on the best route to accomplish that Iād be grateful for any advice.
The bumf again:
[quote]A plugin to list the contents of keymap files and indicate any clashes / overrides. Sublime Text 2 (sublimetext.com/2).
The plugin lists the contents of all installed sublime-keymap files from active plugins along with the user and default files. The last column of the table lists clashes of key combinations whilst he prescence of asterisks indicate that the combination is overridden by the other file.
The presented columns of data are: Key combination, command called, arguments to command and clashes.[/quote]
Both only tested on ST2 in windows but when I get round to sorting my broken RAID Iāll be able to test on nix too.
I really enjoyed putting those two together so if anyone has any ideas on a plugin theyād like built either post here or bung me a PM. If Iāve got the time and itās not too much of a beast Iāll (probably!) have a go at putting it together.
Thanks for such a great app, will be buying a license shortly