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

learn more… | top users | synonyms

2
votes
1answer
22 views

How to make Sublime Text stop asking me to reload every file

I had several thousand files open in a Sublime Text project and those files were modified outside of Sublime so it started prompting me whether or not I wanted to reload the file or cancel. But if I ...
0
votes
0answers
22 views

Combing r-exec and terminal-panel functionalities in Atom

I would like to combine the functionality of r-exec in Atom with the Terminal-Panel package. In particular, I'm interested in achieving similar flexibility as illustrated in this SO answer with ...
0
votes
1answer
12 views

Changing sublime key bindings to move to the beginning and end of line

I'm currently looking at this useful answer published on SO about modifying Sublime Text key bindings. I would like to check whether it's possible to assign those arrow keys: to move to the ...
0
votes
1answer
22 views

Sublime Text 3 - Replace character in particular lines

I have a file with content like this (its a movie subtitle file) 00:21:39.168 --> 00:21:45.585 There will be 23 days, giving 00:21:48.960 --> 00:21:54.126 We'll talk, Oscar. Come back soon. ...
0
votes
0answers
38 views

Copy file as raw binary text

I do need to copy the jce_policy-8.zip from my Mac to a Citrix Desktop on Demand. The customer blocked every fileshare and Download. So I have tried to copy the .zip as raw text. Source I open the ...
0
votes
1answer
22 views

How do I revert to the default cursor in sublime text?

Since some point today, my Sublime Text is doing this: That light grey block is my cursor, focussed on a tab character. It's become a block cursor instead of a vertical line. How do I revert to the ...
3
votes
2answers
47 views

Sublime text Find Replace any Character

Is there a way to find and replace using a special character that would allow any char to be in it's place? What I mean by this is say I have the following text: ...
0
votes
1answer
31 views

How to replace with empty line in Caret?

I add unsuccessfully "\n" in the search. No regex seems to work. Caret is a clone of Sublime editor in Chromebook. How can replace with empty line in Caret's search of Chromebook?
0
votes
1answer
29 views

Trouble creating Custom Completions for Sublime Text 3

UPDATED I'm working on Salesforce development using the MavensMate plugin for Sublime Text 3. I'm wanting to create a custom completions file that will contain some common HTML tag class names that I ...
0
votes
0answers
15 views

Sublime paste in snippet

I have got a sublime snippet to get console.log in js who look like that : <snippet> <content><![CDATA[console.log('$1', $1);]]></content> ...
1
vote
0answers
908 views

error: XDG_RUNTIME_DIR not set in the environment. Gtk-WARNING **: cannot open display:

I used to open text files with sublime, and for Read-only files, I used to do : sudo sublime. But now just suddenly the sudo sublime command gives the following error : (sublime:3931): Gtk-WARNING ...
0
votes
2answers
38 views

Sublime Text 2/3 change snippets folder

Is there a way to change the folder of user snippets? By default it's something like: C:\Users\AwesomeUser\AppData\Roaming\Sublime Text 3\Packages\User And I would like to have my snippets in, for ...
0
votes
0answers
10 views

Editing key bindings file to run a command from the package

I'm using the SPARQL runner for Sublime on OSX and I would like to tie execution of the run query command to a keyboard short cut. Presently my user key bindings file looks like that: [ { ...
0
votes
0answers
39 views

Make the Sublime SFTP Package quick panel display for longer

I have configured sublime text 3 with SFTP package for my website (which works great). There is a small annoying issue though: I select an operation like Sync Remote -> Local Once the sync has ...
0
votes
1answer
353 views

How to set symlink short cut to Sublime Text 3 in terminal? [duplicate]

I'm using the ZSH bash https://github.com/robbyrussell/oh-my-zsh I found and followed the directions here to symlink Sublime Text 3 to subl https://www.sublimetext.com/docs/3/osx_command_line.html ...
0
votes
1answer
155 views

How to install a Sublime Text 3 theme?

I don't understand why I'm getting all these errors: Error loading colour scheme Packages/Material Theme/schemes/Material-Theme.tmTheme: Unable to open Packages/Material ...
0
votes
1answer
55 views

Setting up a sublime symlink in Mac OS X while running pyenv

There are a lot of SO and links on how to setup a symlink so you can run sublime from the command line. But I'm running pyenv and it seems to have its own ~/.bash_profile as the real one doesn't have ...
1
vote
0answers
15 views

Sublime Text: “for loop” text insert?

Let's say I'm writing a JSON object with a lot of properties following this naming convention: ObjectName[x] So it looks like this: ObjectName_A: ... ObjectName_B: ... ObjectName_C: ... ... ...
2
votes
1answer
50 views

Is it possibile to attach snippet only to specific project in Sublime?

I tried to save the snippet files in the project folder but it is doesn't work. Do you have any other idea?
1
vote
1answer
185 views

View file tree in Sublime when using Cyberduck

I use Cyberduck to open remote files and edit them via Sublime on my local machine. I want to be able to see the file tree of the remote system in the Sublime Text side bar. I've tried a few things ...
0
votes
2answers
133 views

Having trouble creating symlink between the terminal in Mac OS X and Sublime Text 2 so it can be launched from the command line

I’m using Mac OS X Yosemite and I want to be able to open Sublime Text 2 from the terminal with a command like this: sublime . I’ve typed this into terminal as shown on the Sublime Text 2 website: ...
1
vote
0answers
42 views

How to preserve the Extended File Attributes in linux?

I'm working on a project where i rely mostly on the file's extended attribute that i set when i create the file. But i'm facing problem while modifying the file. Solid Example: When i edit the file ...
1
vote
1answer
75 views

in sublime how to abort previous build automatically when building again

I know that there is key mapping to cancel build. But I want automatically when I press Ctrl+B, that it will abort the previous built. Is it possible? Is it possible, that the "cancel" build will do ...
0
votes
0answers
12 views

In sublime, the command “set_build_system” not working

I am trying to change the build system using the "Edit Command Platte". Everything I tried didn't works. Things I tried: { "caption": "Set Build System: Mocha", ...
0
votes
1answer
44 views

How to make Sublime JSON syntax warn on extra comma

This is for how my sublime text look like when I edit a JSON file: I want that sublime will alert me when there are too many commas (like nodejs json.parse) I need it because some JSON parser ...
0
votes
1answer
410 views

Autocompletion for custom PHP classes in Sublime Text 2/3

How can I get autocomplete in Sublime Text 2 (or 3) to work with built-in and custom PHP functions, methods and classes? In Atom I've got it working with built-in functions, like this: In Sublime ...
1
vote
1answer
192 views

How to create new command to execute a batch file with Sublime Text?

I need to create a new "shortcut" command in Sublime Text to run a BAT file. I know how to use build_systems and even build_systems per project. I want to add the command to the command palette list ...
0
votes
0answers
57 views

How can I create a RAM disk and install Firefox into it?

I've a Fedora 22 64-bits system running under a notebook with Intel Core i3 processor and 7.7GB of RAM. I only use about 2~3GB of RAM (with everything I need) and I want to speed up my system, so I've ...
0
votes
1answer
40 views

How to correct IdeaJ IDE on Win7 font setting bugs? Or just the fonts bug itself?

I try to use fixedsys for IDEA IDE which downloaded from http://www.fixedsysexcelsior.com/ Set the font size to 16 and then the A and B character just overlapped each other. other size will be fine ...
0
votes
0answers
267 views

Sublime text opens an xml file in HEX view

I have an xml file(rename to .xml) and I need to open this in Sublime text. But if I try to open and view it, it displays the data in Hexadecimal values. But I want this to be displayed in xml format. ...
0
votes
0answers
17 views

How do I tell which sublime plugin(s) are resource hogs?

Just what the title says, the rest is detail :) Relatively often my ST3 instance hangs for a couple of seconds (or just now, which prompted this post, it hung indefinitely and I had to kill the ...
0
votes
0answers
41 views

Running “subl” command started crashing ITerm 2.1.1 with Oh-My-ZSH

Up until a few days ago, when I would type subl it would open Sublime Text 2. I would use the subl command frequently to open files and directories. Today, I tried to run subl from the command line ...
0
votes
1answer
27 views

Equivalent of JavaImport in Sublime Text 3?

I've got ST2 on my Windows machine which I've installed the JavaImport package which is a great tool for automatically writing the 'import' statements for various functions. Unfortunately it is not ...
1
vote
1answer
23 views

OS X - Why does Firefox know my search query in other programs?

Environment: OS X Yosemite 10.10.3, Sublime Text 2.0.2, Pages 5.5.3, Firefox 38.0.5 Observation: When I find a word in Sublime Text 2 / Pages, and switch to Firefox, wanting to search the same word ...
0
votes
0answers
40 views

Sublime: hide path in tabs for files with same name

I am aware that the same question was asked 2 years ago here: Removing file path from tab name Since there has been no answer given and sufficient time has passed, I'm asking this again. Also that ...
0
votes
0answers
25 views

Add space before braces for functions and if/else's in Sublime text

id like to change Sublimes default behavior toleave an empy space before a brace in Javascript. I'm used to just typing func.. And sublime creates a function block for me. How can I make it so there ...
1
vote
0answers
62 views

Sublime snippet in many places with different placeholders

In my scaffolding snippet I'd like to be able to remove two chunks of optional code, with a single button press. However my attempts were unsuccessful. <snippet> ...
0
votes
1answer
448 views

Where does Sublime Text store unsaved files on Linux?

I have an unsaved file that I am trying to locate after a crash on Linux Mint. Where does sublime text store unsaved files on Linux OS?
4
votes
1answer
463 views

Change middle mouse button in Sublime Text

On Sublime Text running on Windows the Middle Mouse button acts as select range, on Linux its Shift+Right click. How can I set the middle mouse button to be select range on Linux? Specifically ...
1
vote
1answer
15 views

Is it possible to set a project-specific font in Sublime (2)?

Is it possible to set a project-specific font in Sublime (2)? I just naively tried adding this to the config it give you under Project > Edit Project: { "font_face": "monospace" } (Which was ...
0
votes
0answers
85 views

Open files in new Sublime window on Ubuntu

I currently switched from gedit to Sublime Text. One thing I liked with gedit, but what is missing in Sublime, is that new files are opened in a new window when the current window is in another ...
1
vote
0answers
47 views

Sidebar subfolder: Sort by alphabet by not by capitalisation

It's every time confuse me that in sublime-text at sidebar subfolders sort like: Folder5 Folder8 folder1 folder7 How to force sublime-text to ignore letters case and sort subfolders like this: ...
1
vote
1answer
131 views

How to set up key bindings to change file type in Sublime Text 2

I would like to learn whether it's possible to set up a key binding in Sublime Text 2 to change a file type. To clarify further, I am not trying to alter a particular file type settings via a key ...
0
votes
0answers
221 views

Configuring Emacs tabs to behave like Sublime Text?

I love Emacs, but the only thing that annoys me about it is I can't get the damn tabs right. This is my configuration file: (global-hl-line-mode 1) (setq indent-tabs-mode t) (setq-default ...
2
votes
1answer
207 views

How to change syntax for a specific folder in Sublime Text 3

I write JS projects in ES5 and ES6. I installed Babel-Sublime for highlighting Babel supported code. Now, I open a .js file written in ES6, goto "View -> syntax -> Open all with current extension as : ...
0
votes
0answers
49 views

Sublime Text 2 Package Control Installation trouble. No Package Control option under Preferences

I am trying to install an REPL for Sublime Text 2. I followed the both the simple and the manual installation procedures as per the instructions at https://packagecontrol.io/installation#st2 However, ...
0
votes
1answer
133 views

How to configure Emmet in Sublime to enable comment shortcut?

Since I have enabled Emmet in Sublime 2, some commands don't work properly. How can I enable what seems to be the default functionality, when in HTML file typing cmd + / in front of <script ...
0
votes
0answers
47 views

How to give a “Document” a Title with Markdown in Sublime Text 2

I use Sublime Text 2 a lot for holding onto little thought pieces I have over the course of the day, and generally end up with around 20 or 30 floating around at any one time. As such, titling the ...
0
votes
1answer
30 views

Sublime text – configuration to focus selections right away while searching

Transitioning from Textmate to Sublime text and sorely missing one feature: In textmate, when searching for "sometext" in a single file, "Cmd–g" sets focus to selection, so that you can edit current ...
1
vote
1answer
70 views

What is the best policy for running GUI programs from CLI to silence non-error messages?

When, on Linux, running graphical programs (such as Sublime Text for example) from the Terminal, the program runs fine but logs on the console messages that are not exactly failures, nor useful log ...