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

learn more… | top users | synonyms

4
votes
0answers
287 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
0answers
185 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
1k views

Sublime Text - keyboard shortcut binding not functioning

Following the instructions here, I've set up a new installation of SublimeText for use with R. I have no other SublimeText plug-ins installed. The keyboard shortcuts that are setup using the ...
2
votes
0answers
95 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
60 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
299 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
68 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 ...
2
votes
0answers
847 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
0answers
190 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
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
0answers
285 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
0answers
305 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 ...
2
votes
0answers
540 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 ...
2
votes
0answers
80 views

Build fails if $file_name is non-latin

I'm using Windows version of Sublime Text 2 and MultiMarkdown as a build system. It works fine unless target file name has Cyrillic characters in it. Then it fails silently. To test this I'm using ...
1
vote
0answers
32 views

OSX skip word shortcut no longer working

Using OSX Mavericks on a rMBP, I've been working in Sublime Text 2. All of a sudden, the skip word shortcut is no longer working. I've tried: resetting my computer running killall Dock resetting ...
1
vote
0answers
54 views

Sublime-Text-style autocomplete in Word?

I know that Word has a built-in autocomplete function. As far as I know, though, apart from dates, if I want a particular word to come up as a suggestion, I need to have it saved as an auto text. Is ...
1
vote
0answers
28 views

Sublime Text 2: leave goto windows on focus lost

How to set it not to close goto window: For example, I open it to install package, then Alt+Tab to browser. When I choose what to install and go back to Sublime - there is no more goto window so I ...
1
vote
0answers
178 views

Vimdiff functionality in Sublime Text 2

I wanted to know if it is possible to have a vimdiff like functionality to check for diff and have synchronized scrolling of two (or more) files in Sublime Text 2 just like vimdiff? Thanks
1
vote
0answers
72 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 ...
1
vote
0answers
98 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 ...
1
vote
0answers
106 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 ...
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 ...
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 ...
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 ...
1
vote
0answers
218 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 ...
1
vote
0answers
396 views

Sublime Text 2 search and replace multiple words

I want to replace multiple words using regex in just one search accross all files. Something like this: Find: (dyspnea)|(jugular_swelling) Replace: (dispnea)|(turgencia_jugular) And this would ...
1
vote
0answers
534 views

Dokan SSH mount and Sublime Text 2

I'm trying to work on a remote project using a mounted SSH using Dokan on Windows 7 and Sublime Text 2. The problem is the file browsing pane works unreliably: it may take ages to "open" a directory ...
0
votes
0answers
19 views

Firefox developer tools Color Scheme for Sublime text 2

How to find a Color Scheme (file "*.tmTheme") with Firefox developer tools for Sublime Text 2?
0
votes
0answers
12 views

Sublime Text unaligned elemets in bottom pannel

I'm using padding properties for code view formatting to add air between lines: "line_padding_bottom": 6, "line_padding_top": 6, but in search panel (and other bottom tool panels) icons is ...
0
votes
0answers
12 views

Increase textarea padding in Sublime Text

Is there a way to increase the spacing between the title bar and the textarea in Sublime Text? As you can see, the first line of code is too far up. The following worked, but I'd like know if ...
0
votes
0answers
7 views

When I close a tab in sublime text, can I have it select the tab above it, instead of the previously selected tab?

Is there a setting to do this? Lots of times I want to close many tabs in a row based on their position in the tab bar but instead the last interacted with tab gets selected instead meaning I need to ...
0
votes
0answers
26 views

Sublime Text 2 + Eval in REPL

Using sublime text 2 on windows 8, I've set my key-bindings to: [ { "keys": ["ctrl+alt+f"], "args": { "id": "repl_f#", "file": "config/F/Main.sublime-menu" }, ...
0
votes
0answers
13 views

Sublime always opens with the same files loaded

Running Ubuntu 12.04 and Sublime text 2 I can close them a hundred times. I've tried with ctrl+q and ctrl+w. I have changed hot exit to false and remember windows to false and rebooted. But when I ...
0
votes
0answers
13 views

Sublime Text: Do not save readonly files on focus lost

Some files may be readonly, and I become annoying modal windows after losing focus. Is it possible to disable the "save_on_focus_lost" option only for readonly files?
0
votes
0answers
16 views

How to define new scopes using arbitrary delimiters in Sublime Text 2

TL;DR: How do I bring Ruby-like comment scope to plaintext files for sublime text? I want to customize my plaintext file look in ST2 by allowing comments. So far I have managed to extend the ...
0
votes
0answers
69 views

How to revert changes on a file in sublime-text 2?

Through some horrible circumstances one of my files has been changed without me knowing, possibly by repeatedly having pressed Ctrl+Y or something like that. Is there are any internal buffer in ...
0
votes
0answers
17 views

Sublime Text 2: refactor Python line into method / create a method

ST 2, Python. Code in body of class method: print 'here' bar = foo(*args) I'd like to select foo and refactor it into a class method, or create it if it does not exist yet: def foo(self, *args): ...
0
votes
0answers
34 views

Selecting words with the keyboard in Sublime Text

I'm using Sublime Text 3 on Windows 8.1. Could be ST2, I don't think this is relevant. I'm aware we can add multiple cursors to select different portions of different lines. Also, if we're looking ...
0
votes
0answers
50 views

In Sublime Text, how can I specify the fold level, with keyboard shortcuts, without having to unfold all first?

I'm trying to work out how to get code folding working how I want in Sublime Text 2. I can ⌘+K, ⌘+J to unfold all. Then I can do ⌘+K, ⌘+1 to fold all. At this point, I want to be able to go straight ...
0
votes
0answers
27 views

Shell hangs after passing STDIN to EDITOR with -w parameter

I want to edit svn's svn:ignore property: svn propedit svn:ignore . This doesn't work: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set, and no 'editor-cmd' run-time ...
0
votes
0answers
24 views

How can customize Sublime Text's date format

When I do date<tab> or even d<tab> Sublime inserts date in format like this: 2014-02-24 10:31 It happens in every mode, so I guess it's not mode-linked. I like that, but I'd like to ...
0
votes
0answers
35 views

Copy Sublime Syntax from one theme to another

I like to use Sublime Text 2, but the theme I use (Pastels on Dark) doesn't have the syntax for certain key words in C#. As I understand it the theme is linked to the syntax (or visa versa) Below are ...
0
votes
0answers
39 views

How to use “Search and replace” in selected text in Sublime Text 3

I want to select text and then use "search and replace" to replace strings in this selection. I think the following workflow should be it: Select Text Ctrl+H to activate "search and replace" type ...
0
votes
0answers
44 views

How to make Sublime Text highlight “$this->” for PHP?

How do I make Sublime Text highlight $this-> for PHP files?
0
votes
0answers
31 views

&nbsp; added in class name on Mac

At the beginning, I believed it was a simple problem of CSS and Sublime Text 2 and posted on stackoverflow. But it seems to be a biggest issue in relation with the OS. On every website with ...
0
votes
0answers
118 views

“Quick Add Next” keyboard shortcut from Sublime Text in IntelliJ

I'm missing the keyboard shortcut "Quick Add Next" (Ctrl + D) from Sublime Text in IntelliJ. It searches for the current selection and selects the next occurrence of it (using multi selection). So if ...
0
votes
0answers
56 views

Is it possible to run Minitest tests within Sublime Text 2?

This package allows you to run rspec and some other testing frameworks' tests from within Sublime Text 2. Is there a similar method for testing Minitest tests? I haven't been able to find anything ...
0
votes
0answers
112 views

How can I delete U+200B (Zero-width space) using sublime text 3

I copied a large amount of code from jsfiddle and it's causing problems for me because of the zero-width space characters. See http://stackoverflow.com/a/12719860/80353 My editor is sublime text 3. ...
0
votes
0answers
29 views

Is there a way to lower the margins/padding of the side bar items?

Is there a way to lower the margins/padding of the side bar items? Ie, I wish to lower the spacing between the items in the directory tree. Applying margins/padding to the sidebar items class as a ...
0
votes
0answers
23 views

View open tabs from a drop down button

Is there a way to view open files from drop down button? Or open files that are not currently visible in the tab bar? I do not want to scroll all the way up from in the directory tree to view open ...