Questions tagged [sublimetext]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
34 views

How to make sublime text the default file viewer for all file types it supports

I want sublime text to open all the file types it supports. For e.g., if I double click on .hpp file, Xcode tries to open it. I want sublime text to open the file. I've looked at RCDefaultApp, but it ...
2
votes
1answer
330 views

Keyboard shortcut to open folder with Sublime Text

Is there a way to define a keyboard shortcut that would open a whole folder with Sublime Text? I can (obviously) easily open a file, I managed to define such a shortcut for opening a Terminal window ...
1
vote
1answer
646 views

Install SublimeHighlight plugin on Sublime Text 3

I'm trying to copy my code from Sublime Text 3 into my Word document in RTF format with colors in tact by using this plugin: https://github.com/n1k0/SublimeHighlight The instructions say: Sublime ...
2
votes
1answer
315 views

Open file in Sublime Text tab via AppleScript

Using the following AppleScript code, I can open a .txt file in a new window of Sublime Text: tell application "Sublime Text" open "Users:me:Desktop:foo.txt" end tell Is there a way to open this ...
0
votes
0answers
14 views

Where is Make.sublime-build?

I'm looking to the sublimetext build system, where I considering to customize my own build based on make. Since there is C.sublime-build I was expecting to find Make.sublime-build. Where is it?
1
vote
1answer
62 views

Xcode is constantly hijacking my Editor settings for .rb files

I'm quite baffled by this as i can't find how and why it's happening. For years i'm using Sublime Text to open ruby files and surely i have Xcode installed but except of command line tools i don't use ...
1
vote
2answers
4k views

Create a symbolic link for sublime text in Mac OS X

I have the newest Mac OS 10.12.3. With the new rootless system Apple has implemented, I can't create a symbolic link using ln under /usr/bin. My goal is so that I can use subl in terminal. How can I ...
0
votes
2answers
88 views

terminal create file(file_name as bash arguments) then write text into it, relate to .bash_profile

I am using sublime, I guess any text editors work the same. I've just learned from this form that alias won't work and I should use function. here is what I come up with, in .bash_profile: function ...
3
votes
1answer
541 views

Shortcut for jumping between words in Sublime Text 2 wanted

I want to jump between words in a text editor (e.g. Sublime Text 2). In Windows, I can use Ctrl-Left or Ctrl-Right. What is the shortcut on Mac?
1
vote
3answers
957 views

Tool that watches files / folders and upload on change on OS X?

I am looking for an SFTP or rsync (?) tool (or script?) that watches a certain folder or certain files and uploads them to a remote server securely on change. The background: I've been using Sublime ...
1
vote
3answers
238 views

What is the difference between “Learn” and “Ignore” in spell checkers

When right-clicking a word in Pages and Sublime Text, the user is offered to either "Learn" or "Ignore" the word. What is the difference between learning and ignoring? To me it would seem the same, ...
1
vote
1answer
112 views

Disable “space+shift” in Sublime Text

I want to disable the "space+shift" thing in Sublime Text, it creates something that looks exactly like a space unless marked, and it messes upp all my scripts because I always accidentally type it. I ...
4
votes
1answer
9k views

How do I remove the right side bar on Sublime Text?

When I work in documents with long lines, it gets very annoying because I have to very precisely drag my mouse in order not to accidentally touch that sidebar which drags me back to the beginning. (I'...
2
votes
0answers
145 views

Decrease process priority

I develop rails applications on my iMac. Often executing all the specs using the parallel_tests gem. This gem uses multiple threads to run specs to utilise all CPU cores. During this, Sublime Text ...
2
votes
2answers
1k views

How to add link to Sublime Text?

Just installed fresh copy of El Capitan and as usual started to install stuff... And suddenly faced strange problem. I'm using Sublime Text. It provides bin called subl, which allow to use it from ...
1
vote
1answer
36 views

Sublime Text 2 - Save Dialogue Tab Issues

I've started using Sublime Text 2 on OS X and its great apart from one small thing. I've enabled Tab to go through all controls: However, I cannot tab through on this dialogue that pops up when I ...
1
vote
1answer
247 views

How to edit many lines at once in TextMate?

I am testing my first Chromebook and its Caret editor. I would like to have the feature called "editing many lines at once" by holding CMD and clicking appropriate lines, like in sublime but much ...
1
vote
1answer
1k views

How do I succeed setting sublime text 3 as a default text editor on Yosemite? [duplicate]

It's a matter of principle for me as I'm struggling with it for a long time. I had this issue back on Mavericks and now on Yosemite 10.10.5. What I'm trying to do is to set Sublime text 3 as a ...
1
vote
2answers
4k views

Install Monokai Theme on Terminal with prompt colors, etc.?

I already have a Monokai theme installed in Terminal, as so: I was wondering how I could get the rest of the Monokai (as Sublime uses) into Terminal? Like, making the prompt (Gamma@~) colored, etc. ...
4
votes
5answers
6k views

Set bash_profile to open with Sublime Text 2 by default

I'd like Sublime Text 2, not TextEdit, to be the default program to open my bash_profile file when I call open ~/.bash_profile in Terminal. Normally I would just control-click on the file in Finder to ...
0
votes
1answer
1k views

How can I change the encoding of a subtitle file?

I have a subtitle .srt file. Is there an app which can change the encoding of this file. (I guess it's encoding is Arabic(windows-1256) but vlc and MXPlayer didn't open it.) The link of subtitle is ...
1
vote
1answer
100 views

Sublime Text doesn't hide on startup

I added Sublime Text to my Login Items, so that it starts up automatically when I start up my Mac. However, even though I have the Hide box checked already, the app still does not hide on startup. Is ...
1
vote
2answers
1k views

Is there a way to open files from Transmit in Sublime Text 2 as new tab, not new window?

I use Transmit as FTP-client and Sublime Text 2 as text editor. When I open file from Transmit to edit it in Sublime Text 2 it opens in new window. It's pretty awkward. Is there a way to open files ...
1
vote
1answer
2k 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 '.cpp')...
1
vote
1answer
795 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 ...
9
votes
1answer
15k 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
648 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. ...
6
votes
3answers
14k 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 285C.cpp:...
0
votes
1answer
51 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
970 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 ...
2
votes
1answer
4k 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 https://help.github.com/articles/associating-text-editors-...
2
votes
1answer
1k views

Remove Quicklook Syntax Highlighting with TextMate2?

TextMate2 Alpha comes with a Syntax Highlighting plugin for macOS QuickLook. How can it be disabled without removing TextMate?
1
vote
1answer
559 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
319 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
60 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
398 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" ...
3
votes
2answers
483 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
136 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 ...
7
votes
2answers
2k 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 ...
2
votes
1answer
1k 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, ...
3
votes
4answers
22k 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
4k 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 ...
8
votes
1answer
23k 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
1k 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 ...
8
votes
6answers
8k 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 ...