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

learn more… | top users | synonyms

2
votes
1answer
422 views

How to prevent ST2 from searching in excluded folders?

I've got a sublime-project like this: { "folders": [ { "path": ".", "folder_exclude_patterns": ["_doc", "cache", "logs", "_release"], "file_exclude_patterns": ...
2
votes
1answer
729 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 ...
2
votes
2answers
124 views

Code line marker in sublime text 2

I personally like this feature in notepad++ Do you know how to do this in Sublime Text 2?
2
votes
1answer
592 views

Same file in differents tabs

in sublime with ALT+SHIFT+2, I get two columns for files. in vim, with split, I can see the same file in differents parts of code. in Sublime,for comparate differents parts of code, How I can see ...
2
votes
1answer
232 views

Is there a plugin for default file location in sublime text 2?

Is there a plugin (or a setting) in Sublime Text 2 to set the default file location for saving files? As of now, when I open Sublime Text 2 for the first time, create a file and try to save it, the ...
2
votes
1answer
1k views

How do I compile libcache?

I have been trying to use the much talked about SublimeClang plugin for Sublime Text 2, which gives me an error that libcache.so could not be loaded, and in Linux, I am supposed to compile it ...
2
votes
2answers
1k views

Editing files on an Ubuntu server from Sublime Text 2 running on Windows

What's the best way to use Sublime Text 2 running on Windows 7 to edit files that are located on an Ubuntu server? Emacs has TRAMP which allows the remote editing of files via ssh. Something like ...
2
votes
1answer
106 views

Key binding for save all

I want to key bind save all to ctrl+alt+S. I know this has been asked and answered on the sublimelime text forum but it's currently down for me. Does anyone remember how to do it?
2
votes
1answer
390 views

Non-blocking editing of remote files via SSH

On OS X, I frequently need to edit files that are actually stored on a remote Linux server I connect to via SSH over VPN. When I'm at the physical of the location of the server, I can easily mount the ...
2
votes
1answer
98 views

Is there a Sublime Text plugin that favours frequently opened files when using 'Goto Anything'?

90% of my 'Goto Anything' usage is opening the same 10 or so files. It would be ideal if this was factored into the search results, to reduce the amount of keystrokes required. Is there a plugin that ...
2
votes
1answer
64 views

Place cursors at both ends of a selection in Sublime Text 2

I'd like to create a key binding in Sublime Text 2 to place cursors at both ends of the selected text. For instance, if I bound this command to Ctrl+B, then selecting a word, hitting Ctrl+B, and ...
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 ...
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 ...
2
votes
1answer
780 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
2answers
707 views

Sublime: Save set of tabs to open

I have several files that I edit frequently, and I need all of them open at the same time. I am wondering if there is a way in sublime to save a set of files to be open...sort of like how in chrome or ...
2
votes
2answers
1k views

How to set PHP syntax for a file without <?php tag?

When I set syntax to PHP in Sublime, all thing is good in my PHP code: But when I remove <?php tag from my code, the syntax highlighter doesn't work anymore: How can I tell sublime to do ...
2
votes
1answer
351 views

sublime text 2, i can not use double click to select a word

Characters that are considered to separate words: "word_separators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?" Triple-clicking I can select the line, but double-clicking, I cannot select the ...
2
votes
2answers
522 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 ...
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 ...
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: ...
2
votes
1answer
750 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 ...
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 ...
2
votes
1answer
433 views

looking for an alternative to refile in orgmode for emacs

In emacs/orgmode there is something called refile. you select text, hit refile and you get a list of your outline headlines, select one and your text goes there. Can I achieve something like this in ...
2
votes
1answer
313 views

Sublime Text 2 not using new icon in Cmd-Tab on OS X

I had previously exchanged the default icon for a custom icon. Upgrading to the latest update, which included a new, official icon, did not change the icon used when I change between programs ...
2
votes
1answer
2k views

Toggle between column selection and regular selection in Sublime Text 2

In Textmate, I can make a regular multiline selection using the keyboard and switch to column selection mode by pressing the alt (⌥) key. I have not found a similar way of doing this in Sublime Text ...
2
votes
0answers
39 views

Sublime Text HTML Block Comment Containing Comments

Is there a plugin to help with HTML commenting a block of code that may already contain other comments? <div class="wrapper"> <div class="container"></div> <!-- /.container ...
2
votes
1answer
93 views

Sublime Text 2 remapping keys

I'm using sublime as my main text editor and I am remapping my arrow keys from the arrows to alt+i, alt+j, alt+k, and alt+l. I have noticed that on Ubuntu 14.04 after I remap my keys that when I ...
2
votes
1answer
41 views

make \w match characters like ÄÖÜäöüß?

Is it possible to customize the behavior of regex metacharacters for character classes like that? (In Sublime, or more generally.)
2
votes
0answers
258 views

Where is the console ST2/GDB

I'm using sublime text 2. I got GDB to work but I don't see a console window anywhere. I see the GDB console but nothing that outputs text from my C++ program. How do I use GDB and see my the console ...
2
votes
0answers
116 views

How to remap motions with a count in Sublime Text 2 vintage mode?

In my .vimrc, I have space remapped to move down 10 lines, and backspace remapped to move up 10 lines respectively: nnoremap <space> 10jzz nnoremap <backspace> 10kzz I want to configure ...
2
votes
0answers
62 views

Launching Sublime Text 2 on the command line doesn't result in opening the specified file

When I type subl ~/.profile I expect Sublime to open my .profile file. This works with some files, although I couldn't find a pattern to which files. Is this a bug in Sublime or have I done ...
2
votes
0answers
415 views

Sublime Text Build System for Heroku

I made a build system for Heroku Foreman on Sublime Text 2 (windows 8) { "cmd": ["foreman.bat", "start"], "working_dir": "$project_path" } When I run this in shell, I can just break, and ...
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 ...
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?
2
votes
0answers
46 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
0answers
578 views

Get sublime text 2 (sublimecodeintel) to parse mason

So Sublime Text 2 seems to getting a lot of love lately. I am using the Sublime Code intel plugin, for auto completion. The problem is, it does not recognize .mi files as MASON files. I looked into ...
1
vote
2answers
45 views

Editing a sublime theme, how to know which key string corresponds to which text element in the code?

I want to customize the color scheme of the comments in my code, by editing the .tmTheme How to know which of the <dict> <key> corresponds to which element of the code? Like, I can ...
1
vote
1answer
566 views

Sublime Text 3 slow saving to network drive

I've got a project I'm working on in SharePoint. I've mapped the SharePoint library to my computer and have been working on the files using sublime text 3. However, saving files in sublime is taking ...
1
vote
2answers
131 views

Regex to match only if beginning of line isn't something?

I have some lines that I'd like to match and some lines I'd to exclude from matching in a file. I'd like to not match remote access</a> (main card) and would like to match anything ...
1
vote
1answer
348 views

Is there anything like “Run” in Sublime Text 2?

Is there a way to launch a page in browsers from Sublime Text 2 ? Like Run in Notepad++?
1
vote
2answers
411 views

Sublime Text 2 'text bubbling'?

In vim and Notepad++ I have an awesome feature either mapped or built in that I've seen called text bubbling. I know about the Sublime documentation for mapping my own, but wanted to make sure I ...
1
vote
1answer
662 views

How to generate ordered and unordered list from couple lines in Sublime Text

How to efficiently generate ordered and unordered list from couple of lines? Let's say: list item 1 list item 2 list item 3 into <ul> <li>list item 1</li> <li>list ...
1
vote
1answer
743 views

Sublime Text manually specify g++ location

Long story short, I'm using sublime to write some small C++ programs in my spare time. I'm currently on a Windows 7 box and I do not have administrative rights to adjust the Path Environment Variable ...
1
vote
1answer
284 views

How can I config sublime text excute javascript with Mozilla Rhino

I want to excute javascript file without a browser. I found Mozila Rhino, but I wonder that how can I config sublime text or another text editor run my .js file directly (i.e without run command ...
1
vote
1answer
123 views

Change the keybinding to exit (alt+f4)

I'm currently using linux and pretty much every program with a GUI exits with ctrl+q. Is there a way to change the default alt+f4 to ctrl+q instead?
1
vote
1answer
348 views

.class specific search and replace

I'm trying to remove entire tag with specific class: Code: <div> Blah blah <div class='myClass'> <div>some other div</div> </div> </div> <div> Blah ...
1
vote
1answer
335 views

Detect key binding collisions in sublime text

In sublime text is there any way in to detect when a particular key binding is already assigned to some command and is then overwritten? I just want to be able to detect such scenarios.
1
vote
1answer
187 views

Sublime Text 2 Key Bindings - Is there any way to detect left/right modifier keys?

Is it possible to make Left Alt+A and Right Alt+A do different things? And of course, other modifier keys. If not, maybe the following idea would work? If AppleScript, Python, Ruby, Perl etc. can ...
1
vote
1answer
1k views

Install Sublime Text 2 KDE (Kubuntu-desktop)

I would like to know how to install sublime text 2 in my Kubuntu VM. I used this guide when I was still using Unity, but I like the UI of KDE much more so I have converted. What do I need to do to get ...
1
vote
1answer
1k views

Sublime Text 2 - Assign a keyboard shortcut to a tool

Is there any possible way of assigning this tool to a keyboard shortcut? I'm using this tool because the builtin console in Sublime Text 2 doesn't support interactivity (entering inputs....etc).