Sublime Text 2 is a cross-platform GUI text editor for Windows, OS X and Linux.

learn more… | top users | synonyms

2
votes
3answers
2k views

Unicode Composition in Sublime Text

I'm not able to use unicode composition (The ctrl+shift+u method) to enter unicode characters in Sublime Text 2 (v2.0.1, Build 2217) on Ubuntu 12.04 (Unity). To reproduce, just open up a tab and do ...
6
votes
3answers
11k views

Sublime Text 2 IntelliSense - How to?

I would like to plug IntelliSense-like functionality into Sublime Text 2. Is there a package that does this?
0
votes
0answers
39 views

Do someone know any good trick to do syntax or brace matching in sublime text on Windows?

I am using Sublime on Windows. I am using Reindent for make my code format but it's not look well. I have seen some people use something CLI command based way to format the code. Do someone have any ...
2
votes
0answers
47 views

Sublime Text 2 long web fetch time

Always when Sublime Text 2 connects to the web, e.g. for listing and fetching packages with Package Control, it takes a huge amount of time to load. I even had to disable the LiveReload Package ...
2
votes
1answer
2k views

Vim: Fuzzy file search comparable to Sublime Text 2's?

I've tried FuzzyFinder, ⌘+T, and Ctrl+P (which is my finder of choice right now), but none hold a candle to Sublime Text 2. For example, I want to type: Head.php and have it find, among others: ...
3
votes
1answer
2k views

Is there a Outline (or OPML) plugin for Sublime Text 2?

I am in search of a way to manage my OPMLs from Sublime Text. I know it is not thought to do that, but a simple plugin adding checkboxes and expand/collapse arrows should be enough.
1
vote
1answer
247 views

Sublime Text 2 Build File - Backslashes

I am trying to setup a custom build in Sublime Text 2. I am having difficulty getting the backslashes in the UNC path path below. When I run this command I always end up with only one backslash ...
0
votes
2answers
464 views

How to remove bullets from the gutter toolbar in Sublime Text 2?

I don't know how these bullets appeared in my gutter toolbar: How can I remove this from my Sublime editor?
7
votes
1answer
8k views

Setting up Sublime Text 2 Custom Keyboard Shortcuts

I'm a Vim user trying to move to Sublime Text 2, as it's faster than MacVim with a bunch of stuff open. I have may custom keyboard shortcuts in Vim, that I would like to transfer to ST2. How can I ...
5
votes
1answer
3k views

How can I switch between pdflatex and xelatex conversion in Sublime Text 2?

I often switch between compiling "classic" LaTeX and XeTeX documents. Sublime Text 2 has a package called LaTeXTools that allows you to build LaTeX documents via a simple CmdB. Neat. The build file ...
0
votes
2answers
3k views

Sublime Text Preview php files on localhost

Hey I've just started using Sublime Text 2 with the SidebarEnhancements package installed. I have it setup so that when I press the build shortcut it previews in Chrome which is fine for my HTML ...
3
votes
2answers
2k views

How to jump previous or next position in Sublime Text 2?

I want to jump to the previous (or next) position in Sublime Text 2. C-i, C-o in vim. Ctrl-, Ctrl= in Visual Studio. How can I do it in Sublime?
3
votes
2answers
2k views

In Sublime Text 2, how do I make a key mapping to move the cursor up or down multiple lines?

I'm trying the following key mapping, but it only moves the cursor up one line at a time. I'd like it to move 10 lines at a time. It seems the "amount" paramater is ignored. { "keys": ["alt+down"], ...
1
vote
0answers
289 views

Is there a Sublime Text 2 equivalent to Dreamweaver's “Find and Replace > Search: Specific Tag” feature?

Is there a function within Sublime Text 2 or a plugin similar to this (besides regex)? In this example, I wanted set the attribute border to 0 for every img tag in the document. Or, say, I wanted ...
6
votes
2answers
4k views

Edit both opening and closing html tag

Is there a way (core or plugin) that a closing html tag name changes accordingly when renaming the opening one ? A behaviour similar to multi-selection...
6
votes
1answer
274 views

Sublime Text: Disable Find in Selection

I sometimes have selected text when I open the find panel and Sublime Text defaults to "finding in selection". I never want this, any way I can disable it?
2
votes
1answer
734 views

Re-Enable Package Control in Sublime Text 2

Using the "disable package" feature of the Package Control extension in Sublime Text 2 I accidentally disabled Package Control itself, and now I'm not sure how to reenable it. I'm guessing this is a ...
1
vote
2answers
2k views

How to correctly configure Sublime Text's “Expand Selection to Tag” command?

I've been using Sublime Text for quite some time (both on OS X and Windows) and it's been working great. One of the features I like and use the most is "Expand Selection to Tag". On the Windows and OS ...
1
vote
0answers
367 views

What are the missing features in Sublime Text 2 that are available in vim? [closed]

I'm a Sublime Text 2 user who tried switching to vim because everyone swears by it. In the first few hours I realized I need to install a lot of plugins what essentially end up emulating GUI in the ...
3
votes
4answers
8k views

auto-close HTML tags in Sublime Text

I'm using Sublime Text 2, and I'm sure there must be a way to make it auto-close XML/HTML tags, the way for example Notepad++ can. Is there a way to have it add </div> immediately after I type ...
1
vote
1answer
388 views

Symbolic link to text editor (Sublime) on Mac

I'm following along with this tutorial on how to use Sublime text editor https://tutsplus.com/lesson/services-and-opening-sublime-from-the-terminal/ . It gives instructions to enter the following ...
1
vote
1answer
749 views

Sublime Text 2 instant file search replace key binding

Instant file search (File: Search Files) is bound to Ctrl+Alt+F by default in my installation of Sublime Text 2. I can't find that combination in Default (Windows).sublime-keymap. On my keyboard ...
3
votes
0answers
342 views

sublime text 2 - display jsdocs while typing

I installed the JsDocs package and use it to document my code. ATM I'm using SublimeCodeIntel with Alt+Click to jump to the documentation, but this is quite annoying, especially when you just want to ...
2
votes
1answer
753 views

Change spell check dictionary in Sublime Text 2

Is there a dictionary of technical/computer/internet words to supplement Sublime Text 2's default dictionary? For example, words such as "blog", "online", "wifi" are all considered misspelled given ...
1
vote
0answers
212 views

Change tab or open CSS file on SCSS build in Sublime Text 2

I use SASS Package and SFTP on a regular basis in my development process through Sublime Text 2. The functionality of these are both great, but I'm hoping to reduce the number of steps it takes me to ...
11
votes
2answers
3k views

In Sublime Text 2, how can I indent out to a straight column with multiple cursors on a ragged edge?

Suppose I've got multiple cursors along several lines, like this: foo| barr| foobar| baz| How can I automatically push the whitespace at the end of each line out to a flat edge, like this?: foo ...
2
votes
2answers
2k views

Insert a range of numbers in Sublime Text 2

Is there a way to insert a range of numbers in Sublime Text 2? I have been unable to find a command or plugin, and I have to insert sequences like this semi-frequently. I'm looking for something akin ...
4
votes
2answers
2k views

How to use Sublime Text as a Multimarkdown editor?

Is it possible to use Sublime Text 2 as a Multimarkdown editor with preview in browser as I do with Markdown? Thank you. Hugo
21
votes
2answers
8k views

In Sublime text, how do you disable increase/decrease font size with ctrl and mouse wheel?

With Sublime Text, is it possible to disable increase/decrease font size when using control and mouse? I found the key bindings for ctrl and +/-: { "keys": ["ctrl++"], "command": ...
0
votes
1answer
214 views

Disable highlighting around braces in sublime text 2

How to avoid the dark color highlighting around matched braces in sublimetext 2. I tried setting few options in Preference -> Default (and user) settings. "matchBrackets" : false, ...
3
votes
2answers
749 views

Is there a way to “Execute and update '# => ' markers” in Sublime Text 2?

This is my most favourite feature from ruby bundle in TextMate. Unfortunately, I can't find how to do the same in ST2. It still inserts the marker when you press TAB after the # symbol, so, I hope, ...
1
vote
1answer
108 views

Files last modification date

This seems like such a simple thing that I'm convinced I must be just missing it somewhere. Is there a setting or a plugin that will display the last modification date/timestamp of the file you are ...
1
vote
1answer
304 views

Sublime's vintage_start_in_command_mode not working

I have a very simple and confusing problem. I enabled Vintage in Sublime and I also added "vintage_start_in_command_mode": true. However, every time I open a file, it starts me in insert mode. Any ...
4
votes
3answers
2k views

Sublime Text Editor command not found

I have installed Sublime on my Mac Lion Laptop, and followed the guide here http://www.sublimetext.com/docs/2/osx_command_line.html but as always it did not work. I dont have a ~/bin directory on my ...
2
votes
2answers
2k views

Modify Sublime Text 2 whitespace representation?

Is there a way to modify the whitespace representation characters so I can change it from dots and dashes to something else? Because I currently have whitespace characters being drawn always, it ...
1
vote
0answers
266 views

sublime text: Undoing an “undo followed by typing”?

Wondering if (perhaps via the console in Sublime?) it is possible to recover from a multi-line undo, followed by typing something (a paste, in my case)? IOW, I un"did" a bunch of stuff, meant to just ...
3
votes
1answer
3k views

Increase the font size on Sublime Text 2 status bar?

Is it possible to increase the font size on the Sublime Text status bar? I did some searching and didn't find much at all on the subject. I sometimes miss important information displayed in the ...
12
votes
4answers
7k views

How to open file using only keyboard in Sublime Text?

How do I open a file using only keyboard in Sublime Text 2/3? Looking for equivalent of <Esc>:e /path/to/file from Vim.
3
votes
1answer
551 views

Specific font_face based on syntax in Sublime Text 2

Is it possible to display a specific font_face for each individual syntax language setting in Sublime Text 2? For example: "php" : { "font_face" : "Droid Sans Mono" }, "c#" : { "font_face" : ...
2
votes
1answer
838 views

Disable removal of whitespace at the end of an empty line in Sublime Text 2

If I have this sample code: function foo() { var bar = 1; var foo = 1; // These two lines will be indented on save, // however the following line will have it's indention removed: ...
4
votes
0answers
384 views

Open up results from Find Results window in new tab/column

In Sublime Text 2 on Mac, I am using the two column layout. I was wondering if it is possible to open results from the Find Results tab (when I search through a directory/multiple files) into the ...
5
votes
2answers
2k views

Sublime Text 2 - insert breaks to match current wrapping?

Is there an automated way to insert line breaks at every point where the text is currently wrapping? After this operation, no lines should be wrapped, but it should look visually identical.
3
votes
2answers
1k views

How can I edit file permissions (e.g. make script files executable) from within Sublime Text 2?

When writing e.g. shell scripts, I want to change their permissions (primarily the executable permission) from within Sublime Text 2. How can I accomplish that?
1
vote
1answer
941 views

Porting Notepad++ syntax to Sublime Text 2

What's the best way to convert a Notepad++ style into a Sublime Text/Textmate syntax?
1
vote
0answers
488 views

Sublime Text 2 search and replace multiple words

I want to replace multiple words using regex in just one search accross all files. Something like this: Find: (dyspnea)|(jugular_swelling) Replace: (dispnea)|(turgencia_jugular) And this would ...
1
vote
1answer
1k views

Compiling/executing Java on Sublime Text 2 works fine except that it cannot read user input

I am a student learning Java and I want to compile and run some simple Java on ST2. Also Eclipse is very slow on my laptop. Here is my JavaC.sublime-build file so far: { "cmd": ...
2
votes
1answer
781 views

Color Scheme name for <?php tags in Sublime Text 2

I've been messing around with my color scheme and now I can't figure this out: How do I go about changing the color that <?php will show up in my .php files? I've done a lot of googling and some ...
2
votes
1answer
1k views

Use Notepad++ styles with Sublime Text 2

Is it possible to use notepad++ syntax themes/styles with sublime text 2? If so, how do I do this. I code COBOL programs, and love some of the features in sublime. But it lacks the syntax ...
1
vote
2answers
313 views

Invert case in Sublime Text 2

If I have Caps Lock on by accident and type "lIKE THIS", is there a keyboard shortcut to transform it into "Like this"? I'm familiar with Ctrl+KL to lowercase a selection, but I"m looking to toggle ...
0
votes
1answer
52 views

Can't switch to window group n° 1

I can create multiple windows by splitting the main window into multiple rows and columns. While ctr+0 moves the focus to the file explorer and ctr+2 moves to the second window, I can't get ctrl+1 to ...