Sublime Text is a cross-platform text editor for code, markup and prose created by Jon Skinner.

learn more… | top users | synonyms

1
vote
1answer
12 views

How to open a new c++ file with a predefined template in Sublime Text?

I am keen to know if there is a way to open not an empty new file but a new file with some predefined template. I participate in online coding contests and for every new file (which I save as a ...
1
vote
1answer
34 views

Set sublime text to read .asp files as .php files (with php syntax)

I have a few .asp files that I want to edit with Sublime Text, however, I always have to change the syntax to PHP under View -> Syntax -> PHP. Is there anyway that I can make Sublime Text ...
0
votes
1answer
493 views

Changing sublime text 3 icon in dock on Yosemite

I tried to change the Sublime Text 3 icon on the dock changing the Sublime Text.icns file in path /Applications/Sublime\ Now in the dock appears the default app icon (the one for apps that doesn't ...
1
vote
1answer
76 views

“git commit -a” causes “subl -w: subl: command not found”

i am not sure what is causing this problem but i am having problems using git. It seems sublime is somehow interfering. Does perhaps anybody know how to solve this problem? I am running OSX 10.9.3. ...
1
vote
1answer
171 views

File Not Found Error while including bits/stdc++.h

My System: MacOSX 10.9 64-bit Hey guys, I am working on Sublime Text 3. I have included the #include <bits/stdc++.h> but when I am compiling the source code, adityas-air% g++ 285C.cpp ...
0
votes
1answer
12 views

CMD + arrow goes to beginning of line , conflicts with Sublime

I am trying to use cmd+left/right to do "focus to group" in Sublime, but my cursor goes to the beginning/end of line instead. Note that I'm using a PC keyboard.. and I've remapped the modifiers ...
3
votes
1answer
107 views

How does Sublime open file with cmd+click on its path in Terminal?

For example: $ ls -lsa 4 -rw-r--r-- 1 denis 404 Jul 16 18:36 pgadmin.log cmd+click on pgadmin.log Sublime opens pgadmin.log (if path is 'pgadmin.log:12', it opens it and sets cursor to 12th ...
1
vote
1answer
193 views

Trying to get Sublime Text 3 working from terminal

I am trying to get the Sublime Text to work with Git from the following tutorials http://www.sublimetext.com/docs/3/osx_command_line.html and ...
1
vote
1answer
199 views

Remove Quicklook Syntax Highlighting with TextMate2?

I recently installed TextMate2 Alpha and it comes with a Syntax Highlighting plugin for the OS X QuickLook. Can it be disabled without removing TextMate?
1
vote
1answer
66 views

Project folder not visible in Sublime Text 2 after relaunching app

When I add a new project folder to Sublime Text 2… It works normally. But when I quit and relaunch the application I can't see my project folder on the sidebar? What should I do?
1
vote
1answer
35 views

Is it possible to select the previous similar text in Sublime?

In OSX, command + D will allow us to select the next similar text in sublime, but command + shift + D will duplicate the text. Is it possible to select the previous text? If so, what is the keyboard ...
2
votes
0answers
36 views

“no caps” not working in Sublime Text

On Mavericks I'm trying to use the "no caps" dictation command in Sublime text but the word always appears capitalized. I tested the command in the Safari URL line and it does work there. Is there a ...
0
votes
1answer
60 views

Using quotes in SublimeText build system command

I'd like to execute a simple AppleScript command as part of a Sublime Text build system. I created a sublime-build file where the command is "cmd": ["osascript", "-e", """tell application "Preview" ...
2
votes
2answers
145 views

Can't open a file in sublime text using bash_rc

My bash_profile function looks like: function st() { /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /Users/ishan/workspace/nltk_engine/index.py;} However, when I do st in terminal, ...
1
vote
1answer
63 views

Are there any apps that copy files to another location whenever they change?

I've been trying to change my IDE from NetBeans to Sublime Text. The most important thing that keeps me using NetBeans is the "Copy files from Sources Folder to another location" feature. I can't ...
1
vote
2answers
757 views

How to use Sublime Text with the built-in Apple spellchecker

Question in title. Is it possible at all with Sublime Text 3? Now I can download different spellcheck packages or use the built-in ST spellchecker. However, I would like to use the Mac OS spellchecker ...
1
vote
1answer
560 views

How to open files from Finder into existing instance of Sublime Text 2?

I would like to be able to go into Finder and open files into an existing instance of Sublime Text 2, which has a side menu with all open files. However, when I hit Open With -> Sublime Text 2.app, ...
1
vote
0answers
455 views

How do I disable native OS X scrollbar in Sublime Text?

The native OS X scrollbar obviously completely defeats the purpose of Sublime Text 3's Minimap (which is a scrollbar by itself). So I want to disable OS X scrollbars …!! "overlay_scroll_bars": ...
3
votes
4answers
8k views

How do I setup Python3.3 and Sublime Text 2 correctly on OS X 10.8.2?

I am trying to setup Sublime Text 2 so that the build command correctly runs Python3 / Python3.3 scripts. I have installed Python 3.3 via the installer obtained from python.org and installed Sublime ...
4
votes
1answer
3k views

Refining a Sublime Text 2 / Transmit workflow

I recently changed code editors from Coda to Sublime Text 2. All in all, I am finding that ST2 fits my web development workflow almost perfectly. My one friction point is when interacting with an ...
5
votes
1answer
8k views

Change highlight colour in Sublime Text 2

How can I change the default highlight colour in Sublime Text 2? I know I have to find a highlight key in one of the theme files but I don't know where these theme files are kept. Are they in the ...
1
vote
1answer
678 views

Getting Sublime text to use the latest version of Ruby?

I have multiple versions of Ruby installed on my machine. By using RVM, I am able to use Ruby 1.9.2 on the terminal. But whenever, I use Sublime Text, the text editor of my choice, it defaults to ...
7
votes
6answers
6k views

Which text editor has better OSX support, TextMate, or Sublime Text 2

I've been using Sublime Text 2 for Windows and Linux because it's simply the best for those platforms. However, when using OSX I have the option to use TextMake, which is where Sublime Text 2 seems ...