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

learn more… | top users | synonyms

1
vote
0answers
82 views

I can't get the REPL plugin to work for some languages

I've installed the SublimeREPL plugin, but when I try to use REPL for some languages it gives me this error: Windows Error(2, 'The system cannot find the file specified.') This happens for some ...
5
votes
2answers
8k views

How to uninstall packages from Sublime Text 2

I'm using a portable version of sublime text 2 on windows. And I'm trying to uninstall some packages which are on this directory: D:\Downloads\sublime\Data\Packages The problem is that it always ...
14
votes
1answer
8k views

Hotkey to remove duplicate lines in Sublime Text 2?

I'd like to add a hotkey for the menu item Edit>Permute Lines>Unique, but what I've added to my user keybindings isn't working: [{ "keys": ["f8"], "command": "permuteLines method unique" }] What ...
-1
votes
2answers
565 views

Fresh Linux Mint 14 install not executing eclipse and sublime text

I just upgraded from Linux mint 13 to 14 Cinammon. The problem is I have the tar files of sublime text and eclipse that I usually extract and run but after I upgraded to Mint 14 I get the error in the ...
2
votes
2answers
523 views

ipython and sublime text 2

I really love how Rstudio has a shortcut for running a line of selected code, this allows for much quicker coding. I notice more and more however, that I need to work in python as it offers a bit more ...
0
votes
1answer
4k views

sublime text 2: auto format php?

Is there a plugin that can format and indent PHP automatically with sublime text 2? I'm really used to aptana and have taken for granted the ctrl + alt + f.
3
votes
0answers
80 views

Open excluded files and folders in Sublime Text 2

For most day to day uses it's helpful to hide system files and config files from Sublime Text 2 via the file_exclude_patterns and folder_exclude_patterns, but every so often I'll need to make a quick ...
1
vote
0answers
126 views

Sublime TextEditor 2 in Vintage mode completion

I have several problem with my autocompletion which I want to fix: I have completion by Space. I want that when I press Space means I don't want completion I want a space symbol now. I want to ...
4
votes
1answer
2k views

How to make Sublime Text 2 spell check comments only?

The built-in spell check feature seems to be running over the whole code, underlining lots of text that is supposed to be that way i.e. the code itself. Any way to limit it to just comments (//)?
5
votes
1answer
2k views

Mac: Edit in Filezilla with Sublime text always open a new Sublime window

With my Mac, everytime I want to Edit a file from Filezilla, it open a new Sublime text window. Is there a way to tell Filezilla to open the file in the current window if it already exist?
0
votes
1answer
88 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
473 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
512 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
922 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
480 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
362 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
38 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?
4
votes
1answer
3k 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?
1
vote
0answers
134 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 ...
5
votes
1answer
419 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
227 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
1answer
2k 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
523 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?
2
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
57 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
2k 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
8k 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
828 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 ...
1
vote
1answer
467 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
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
946 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
1k 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
642 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
190 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
475 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
321 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
130 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
869 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
166 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
204 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
1k 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
247 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
617 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 ...