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

learn more… | top users | synonyms

2
votes
1answer
1k views

Sublime Text 2 “subl” command not found

I have followed this super user post to get sublime command line subl command to work in terminal to no avail. I have the following bash_profile export PATH="/usr/local/mysql/bin:$PATH" export ...
0
votes
2answers
614 views

Sublime Text Conflicted Shortcuts

I need to install two Sublime Text plugin but their shortcut keys are conflicted. How can I fix this? Thanks
0
votes
1answer
1k views

How do I add Sublime Text the Windows 8 “Default Programs” list?

I've tried using the following registry file to add Sublime Text 2 to the Default Programs list in Windows 8 Enterprise x64. It doesn't show up. All the paths are correct. This method has worked for ...
2
votes
2answers
653 views

Sublime Text - Adjust brace style

Our codebase has a "cuddled" curly brace style. That is, the { appears on the same line as the function (or if or while) statement that it goes with: if (condition) { doThis(); } else { ...
0
votes
1answer
518 views

Autocomplete existing variable names in Sublime Text 2

On my Windows machine I also use ST2, but it handles autocomplete of existing variable names in the current file. How do I enable this in ST2 on my mac? Syntax is PHP
3
votes
1answer
125 views

'subl -w' doesn't ever un-block when running under tmux on OS X

On my mac, I have $EDITOR set to 'subl -w'. If I run my shell session under tmux, it opens the editor fine, but the command on the terminal never exits. However, this works fine on a terminal by ...
3
votes
1answer
398 views

Installing sublime text plugins all at once

Is there a way to install all the sublime text 2 plugins that you would like to install all at once. In Notepad++, there is a plugin manager which lets you install all the plugins you want to install ...
0
votes
1answer
303 views

Launch Sublime Text 2 from command line

I am trying to launch Sublime Text 2 via command line. I know it has already been done before here but I am having different constraints. I use the portable version of ST and store it into my Dropbox ...
1
vote
0answers
122 views

Sublime Text 2 overrides Winamp Keyboard Hotkeys

This is the layout of my keyboard (Multimedia-Keys) Play|Pause , Mute , Vol- ... I however change songs very very often (next in playlist, prev in playlist), for which I do not have multimedia ...
0
votes
1answer
684 views

Use Sublime Text 2 Windows keybindings on a Mac?

I use Sublime Text 2 on Macs and PCs. It would be nice if I could needed to commit only one set of shortcuts to muscle memory. Is there a way to export my Windows bindings and and use them with OS X?
2
votes
1answer
1k views

What is the shortcut to break up multiple lines into one in sublime text 2?

Please browse to the sublime text homepage and have a look at slide #2. There is a "screenshot movie" showing several commands, but there is no explanation. Just CTRL+SHIFT+L for multiple selection. ...
1
vote
1answer
148 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
195 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
987 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
191 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 }, ...
3
votes
2answers
1k 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
463 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 ...
6
votes
3answers
9k 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
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
203 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
326 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
5k 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
256 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
228 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
544 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
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
348 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
5k 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
332 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
643 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
286 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
661 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
197 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
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
21
votes
2answers
6k 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
181 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
657 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
94 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
263 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 ...