Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.


Search/Replace enhancements

Emiliyan Korgoth Parvanov 7 years ago 0
Search and replace should have color indications (ie search input turns red when no occurances are found and blue when the search wraps). That way you wont have to stare at the statusbar, but can see the colorcode and know whats happening.
Also replace should popup also with ctrl+f (to be honest, most of the times you search something when coding you need to do a replace afterwords, so popiung up the replace dialog is a good idea imo).
The buttons in the search and replace boxes should have a highlighted letter, so that they are accessible via a keyboard combination - for example you search for a word, then enter the replacement for that word and then hit lets say alt+r for replace, and alt+a for replace all (key combinations are of course just a suggestions)

Ctrl+Shift+N not opening new window in HTML file

Alexander Rechsteiner 6 years ago • updated 6 years ago 1
Ctrl+Shift+N is supposed to open a new window, and it does in a text file. However, when I change the syntax to HTML then the command does select part of the code instead of opening a new window. I think this shortcut should be consistent over all file and syntax types.

ST 2, Build 2181 

Windows 8 Customer Preview


Support for reverse mouse wheel using Autohotkey

JCarles Vilaseca 6 years ago • updated 6 years ago 0
I'm using this Autohotkey config:

    Send {WheelDown}

    Send {WheelUp}

NCL plugin?

ENoble 5 years ago • updated by robertcollier4 5 years ago 1

Hi, I just stumbled upon SublimeText today.  There is a programming language I use called NCL (

I would like to use this editor with it. The NCL group provides a link where any group can create a plugin for their editor here,

Is it possible someone at SublimeText could do this? I don't know how. 

I will try to do so in 10 days. 


Make XML syntax definition mark invalid double-hyphen inside comment

Ola Vikholt 5 years ago 0
In other words, please apply this patch or some variation of it.

diff --git a/a b/XML.tmLanguage

index 9438f60..bbb5823 100644

--- a/a

+++ b/XML.tmLanguage

@@ -109,6 +109,15 @@




+                       <key>patterns</key>

+                       <array>

+                               <dict>

+                                       <key>match</key>

+                                       <string>--</string>

+                                       <key>name</key>

+                                       <string>invalid.illegal.double-hyphen-in-comment.xml</string>

+                               </dict>

+                       </array>





Erlang syntax highlighting error (with potential fix!)

Anselm Eickhoff 5 years ago 0

In Erlang, fun is not only a keyword for lambdas, but can also be used in -spec macro directives.


-spec for_house_of(Type :: row|column|box,
  Pos :: integer(),
  AccStart :: X,
  Fun :: fun((Pos :: integer(), Acc::X) -> (Y))
) -> [Y].

This breaks syntax highlighting afterwards though (because Sublime text thinks we're in an anonymous function that has never been ended).

(multiline or single line -spec doesn't matter).

It can be fixed by ignoring the fun keyword if it follows two colons in this case:

Erlang.tmLanguage, line 699





This is only a hack though, because the parameter spec could also be unnamed:

-spec for_house_of(Type :: row|column|box,
  fun((integer(), X) -> (Y))
) -> [Y].

Remove special characters from sublime text 2 directories and files

Nicholas Whittier 7 years ago 0
I am running the Linux (x86_64) build.  I realize that this does not have true feature ramifications, but it would be great if the file/directories were restructured to remove spaces and special characters.   

I love the simple elegance that ST offers almost as much as the straight-forward customization that is available in the config files.  Then I navigate to those config files to find filenames like "Base File (Linux).sublime-settings" and I cringe.

Code comments that show up in sidebar.

Joren Mathews 6 years ago 0
If you could create a comment in code, which would show up readably sized in the sidebar. Something like //!User section would print "User section" legibly where that comment appears floating over the sidebar.

Zen-coding and multiple cursors produces unusual results.

Aaron Spaulding 6 years ago 0

Paste the following text in to ST2 then put cursors after the braces. Press tab:





It produces the following output:






I'd like to be able to configure the behavior (e.g. timeout, number of saves, whatever) of the password prompt for saving documents that require superuser privileges.

David Stults 6 years ago • updated 5 years ago 2
The ability to save files which require superuser privileges is a great option, but for the work I do, I save fairly often, and as a result I get prompted for my password every couple of minutes.  My password is complicated, so this is irritating, and since my workstation is quite secure I'd like the option to loosen the re-prompt frequency.