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

learn more… | top users | synonyms

0
votes
1answer
97 views

sublime text 2: ignore more than one file extension for

How do you ignore more than one file extension your project settings. The documentation provides an example of just one file setting being ignored: { "path": "docs", "name": ...
0
votes
1answer
615 views

Trouble modifying .bashrc file to alllow sublime text 2 in git-bash

I would like to change or add the ability to open files when working with mingw32 with a different text editor (in my case sublime text 2). I would like to be able to do the following from the ...
1
vote
1answer
585 views

Filtering Sublime Text 2 buffer contents through an external program

I am trying to add uncrustify for my C++ code formatting in Sublime Editor 2. I know that there are some ways to run external process in SE2. But the main problem is that cannot update the buffer ...
0
votes
2answers
1k views

how can change default text editor in mingw32

I would like to change or add the ability to open files when working with mingw32 with a different text editor ( in my case sublime text 2 ) I have been googling around but I'm not sure i understand ...
1
vote
1answer
581 views

Returning to command prompt after piping output to Sublime Text 2

I am running Sublime Text 2 and OS X 10.7.5. Frequently, I will run a command from the Terminal and redirect the output so I can view it in Sublime. For example: svn diff | subl When I do this, I ...
2
votes
0answers
1k views

LSOpenURLsWithRole() failed with error -128

I' opening an ML file from the terminal using an open command is OS X. Currently, the bindings are such that it opened the file through Sublime Text 2. I get the following error whenever I first open ...
-1
votes
1answer
378 views

Cheat sheet, sublime text 2 for mac 13 inch keyboard [closed]

I need full keyboard shortcuts for sublime text2 on macbook retina 13 inch. Searched google but didn't get a full chart that I could print.
2
votes
1answer
40 views

How to colorize some words in text in ST2?

I'd like to highlight a word in a text with a specific color. Or make it bold/italic/underlined. Is there ST2 plugin allowing bolding/colorizing/italizing words in text?
7
votes
1answer
4k views

How can I set key bindings for menu items in Sublime Text 2?

There is no keyboard shortcut for menu items such as Refresh Folders. I have to use my mouse every time. How can I define key bindings for menu items in Sublime Text 2?
2
votes
0answers
160 views

How can I focus the document and “unselect” everything in Sublime Text?

Can someone tell me if there is a better way to deselect than using the ESCAPE key? I'm Using OS X. I often get frustrated when using sublime text if the focus is in the search box at the bottom and ...
6
votes
1answer
770 views

Sort (permute) lines by length in Sublime Text?

I'm looking to sort lines by length. I see how to do it by alpha or reverse alpha, but is there a way to see shortest to longest? Good writing mixes sentence lengths, and I'd find it very helpful if ...
2
votes
1answer
1k views

Project Specific Configurations for Sublime Text 2

Is there a way in sublime text 2 to setup specific configurations for different projects. My personal projects use different spacing and coding standards than my work projects and I hate having to ...
1
vote
1answer
246 views

Tab Twice on Snippet to get alternate option Sublime Text 2

I've recently switched to Sublime Text 2 for Rails development and I'm trying to understand how to get alternate options for snippets. For example in a rails migration the snippet mcol + [tab key] ...
4
votes
2answers
3k views

Using an external text editor to edit VBA code

I have inherited a lot of VBA code to maintain and so far I am using the VBE. Sometimes is quite hard to do some tasks, like advanced text search, so usually I export the module, edit the content with ...
4
votes
1answer
647 views

SublimeText LaTeXTools: Build doesn't render a PDF

I'm using the LaTeXTools plugin for SublimeText 2, and when running the build, the build system compiles the TeX and invokes Evince, but a PDF file is never rendered and thus, Evince complains, "No ...
4
votes
1answer
1k views

Automatically insert a space between parentheses in Sublime Text 2

Is there some configuration or plugin I can use which would add spaces to the inside of parentheses when they're matched. Here's an example of what I'm trying to explain. if (^) // ^ represents ...
3
votes
1answer
1k views

Disable build window when building in Sublime Text 2

How can I prevent the build window from showing in Sublime Text 2 whenever I make a build with Ctrl+B?
3
votes
1answer
1k views

Open Sublime Text 2 with new tab instead of new window

I've got an alias to open files in Sublime Text 2: alias sub='/Applications/Sublime\ Text\ 2.app/Contents/MacOS/Sublime\ Text\ 2' But this spins up another instance of Sublime Text 2 (complete with ...
1
vote
1answer
62 views

redirect find items to a separate window

How do I list the lines that contains the matches from the "find" command ? ie., I would like to list all the matching lines in a separate window. Currently one can only goto next / previous 'find'. ...
0
votes
1answer
4k views

Convert text file to ASCII, not ANSI in Sublime Text

We have a project where we need to convert weird characters generated from all kinds of file formats into ASCII due to compatibility issues. Is it possible in Sublime Text 2 to convert the encoding ...
3
votes
3answers
15k views

How to shift a block of text to the right/left in Sublime Text 2

How do I shift a block of text to the left or right with Sublime Text 2?
0
votes
1answer
1k views

How could I run Sublime Text 2 without X server?

I'm using Sublime Text 2 and it's an awesome editor. Sometimes I'm on a slow connection editing remote files and X11 over SSH is too damn slow to be of any use. I could only run Sublime on the remote ...
2
votes
1answer
628 views

How do I force opening new files in left pane/column in Sublime Text 2?

I am using Sublime Text 2 on Windows 7, I have configured it to use 2 columns for split editing (in menu: View > Layout > Columns: 2), so now I have 2 panes. When I open new file through Total ...
2
votes
1answer
2k 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 ...
2
votes
2answers
1k 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
2k 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
2k 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
760 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
4
votes
1answer
323 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
531 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
340 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
138 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
1k 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
2answers
2k 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
209 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
207 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
2k 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 ...
3
votes
1answer
305 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 }, ...
4
votes
2answers
2k 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 ...
7
votes
1answer
939 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 ...
3
votes
3answers
3k 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 ...
8
votes
3answers
14k 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
43 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
52 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: ...
4
votes
1answer
3k 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.
2
votes
1answer
323 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 ...
1
vote
3answers
685 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?
8
votes
2answers
12k 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
4k 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 ...