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

learn more… | top users | synonyms

2
votes
0answers
165 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
78 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
56 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
262 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
61 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
770 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
231 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
180 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
256 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
263 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
480 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
77 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
28 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
47 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
183 views

How to change Sublime Text temp file location?

Sublime Text stores the temp file alongside the file under edit as ._foo.txt. How to change it's location and/or naming scheme? In could do it in say vim with set dir=/var/tmp, is there anything ...
1
vote
0answers
22 views

Sublime Text 2: leave goto windows on focus lost

how to set up not to close goto window: for example i open in to install package, then Alt+Tab to browser, and when i choose what to install and go back to Sublime - there is no more got to window. So ...
1
vote
0answers
151 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
65 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
94 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
88 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
119 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
236 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
189 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
197 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
318 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
504 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
13 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
22 views

Sublime indenting style of Latex files

Here is a part of my LaTex code and what I want it to be: ... \begin{center} \begin{table} \begin{tabularx}{\textwidth}{|l|l|l|X|X|X|X|} ... However, if I re-indent it in Sublime Text ...
0
votes
0answers
14 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
16 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
28 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
19 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
39 views

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

How do I make Sublime Text highlight $this-> for PHP files?
0
votes
0answers
24 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
37 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
75 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
23 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
20 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 ...
0
votes
0answers
64 views

How do I disable/prevent highlighting of updates in Skim?

I've just set up Skim to update content when I compile a LaTeX file to PDF in Sublime Text 2 using the LaTeXTools plugin. It works fine but is it possible to disable/prevent the highlighting of the ...
0
votes
0answers
91 views

copy relative path of file

I can copy full path of file: { "keys": ["super+i"], "command": "copy_file_path" } But don't know how to copy its relative path (relative to project folder) I even created .sublime-project { ...
0
votes
0answers
71 views

Vimperator: sublime text as an external editor in os x

I tried to set up Sublime Text 2 as an external editor for Vimperator on os x, but with no success. Here is what I have in my .vimperatorrc: set editor='bash -lc "subl -w"'
0
votes
0answers
175 views

-std=c++11 not working with Sublime Text 2 on Mac

So, I installed gcc 4.7 with ports. Manually compiling my file with g++ file.cpp -o file It spots an error. By appending the -std=c++11 it works like a charm. Now I edited my C++.sublime-build: { ...
0
votes
0answers
130 views

Why isn't my custom GNOME launcher showing

I'm trying to get a launcher to show up on Arch linux with Gnome 3.8 but for some reason it doesn't show up on the menu. I have to strip down the version of the original sublime_text.desktop file ...
0
votes
0answers
150 views

Set default build system with Sublime Text 2

I installed Sublime Text 2 on two machines: a not-so-old laptop running windows 8 and a much older laptop running windows xp. When I set a build system on the old laptop, it remembers my choice, and ...
0
votes
0answers
118 views

info: updating indexes…Sublime text 2 message stays there all the time?

OS: UBUNTU 12.04 info: updating indexes..The first time this can take a while. Do not despair! message is always displaying int he bottom bar of sublime text 2. How to fix this?
0
votes
0answers
96 views

Sublime Text 2: cannot type “>” character via keyboard

I don't know why or what I've done so that the greater-than character ">" cannot be typed in Sublime 2 (Windows 7 professional). I can type ">" in all other software. Any one care to shed a light?
0
votes
0answers
50 views

How can I make Sublime Text 2 recognize the pipe as a bracket

The reason I want this is so I can use the move_to brackets command in a block argument list. Take: hash.each_pair do |key, value| puts "K:#{key} V:#{value}" end I want to be able to have ST2 ...
0
votes
0answers
19 views

Don't cycle into other columns

In layouts. when I have two columns, and I was focused on the second column, then I cycle through the files it cycles through the first column as well. Is there a way to chroot it to stay in the ...