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

learn more… | top users | synonyms

1
vote
1answer
128 views

Sublime Settings — Syntax Specific: “show_panel_on_build” not overriding with Markdown syntax

I am trying to turn off the build panel showing on build when using markdown syntax. I am on OSX and using Marked for markdown preview and I don't want the build panel popping up with a pointless ...
0
votes
0answers
187 views

Vim-like multiline handling in Sublime Text 2

The quick brown fox ate the lazy dog. In vim, if my cursor is at n in brown, and I execute d/lazy, I'll erase everything from brown to lazy. If I do c/lazy, similarly I'll do all this while jumping ...
0
votes
0answers
895 views

subl command line not working

I followed the sublime text 2 command line tool installation feature some time ago and it was working just fine. However, it's not working anymore. When I type subl in the command line, it returns ...
2
votes
0answers
180 views

How to manually edit a macro for replacing a list of characters in Sublime Text 2?

I first tried recording a macro, but instead of recording the character sequence it records my commands and movements without arguments, like this: "args": { "close_panel": true }, ...
2
votes
2answers
955 views

How to enable text drag-and-drop in Sublime Text 2?

I'm on Ubuntu 12 and the drag-and-drop feature of Sublime Text 2 refuses to work even though it is explicitly enabled in the configuration file: "drag_text": true and isn't overridden anywhere ...
5
votes
1answer
385 views

sublime text 2 open file from find results keyboard shortcut

In the Sublime Text 2 "Find in Files" results, a box is drawn around wherever your search term appears. Double clicking within that box opens the file and focuses your cursor on that line. Is there ...
1
vote
2answers
1k 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 ...
4
votes
3answers
7k 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
44 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
1k 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
1k 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
169 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
285 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?
6
votes
1answer
4k 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
2k 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
2k 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
1answer
1k 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
1k 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
238 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 ...
5
votes
2answers
2k 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
208 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
465 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 ...
0
votes
1answer
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
338 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 ...
2
votes
4answers
4k 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
302 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
588 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 ...
2
votes
0answers
258 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
612 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
189 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 ...
9
votes
2answers
2k 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
1k 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
18
votes
2answers
5k 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
167 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
612 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
88 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
223 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
1k 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
200 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
2k 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 ...
10
votes
4answers
4k 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
492 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" : ...
1
vote
1answer
449 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: ...
2
votes
0answers
266 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
1k 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
840 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
703 views

Porting Notepad++ syntax to Sublime Text 2

What's the best way to convert a Notepad++ style into a Sublime Text/Textmate syntax?