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
0 votes
0 answers
29 views

Sublime don't open files when I use "Always open with" marker on Mac OS

I have an error when I am trying to open csv files with turn on "Always open with" Error: “file.csv” is damaged and can’t be opened. You should move it to the Bin. When I don't use marker &...
0 votes
1 answer
121 views

Sublime Text Multilingual Unicode Rendering

I've been using Sublime Text for years and noticed that the rendering of Devanagari unicode characters doesn't work. Has anyone figured a way to make this work? I haven't noticed any problem rendering ...
  • 101
0 votes
0 answers
24 views

Sublime Text v4121 - how to remap numpad on macOS?

I'm on macOS Monterey and my hidutil script for remapping the numpad to be equivalent to Windows(enabling Home, End, PgUp, PgDown) seems to work in other applications like Chrome but not Sublime Text. ...
0 votes
0 answers
15 views

Lost filetype – default program associations

While upgrading from Sublime Text 3 to version 4, I lost my "filetype – default program" associations. Meaning: Files that used to open with Sublime Text by default (say .php .md .txt and a ...
0 votes
0 answers
91 views

Cannot run Sublime Text using ./subl

I downloaded Sublime Text 4107 zip file. Unzipped it in a folder and tried running it using ./subl command but no matter what I try it shows ` “Sublime Text 15-33-10-536” is damaged and can’t be ...
0 votes
1 answer
48 views

Sublime Text is autocorrecting “^”

I use Sublime Text 3 for my LaTeX coding. Whenever I try to type something with a carat such as e^{x+2} it autocorrects it to e{{x+2}}. The autocorrect occurs right after typing the first curly brace ...
1 vote
1 answer
437 views

Trouble setting Sublime Text as default editor for entering Git commit message [closed]

I am learning git command-line. I wish to set Sublime Text as the default editor for entering commit message, when I run the git commit command from Terminal. But when trying to do so, I am running ...
  • 11
1 vote
2 answers
2k views

Export/Import Sublime Text 3 Configuration Across Two different Apple Computers

I would like to export my configurations for Sublime Text 3 from one Apple Computer to another. Can I just copy the application in the /Applications/ directory from one computer to another? Or do I ...
  • 187
4 votes
0 answers
3k views

"Waiting for your editor to close the file" when trying to use Sublime Text 3 as Git editor

I'm trying to use Sublime Text 3 as Git's editor. I ran this: sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl Then this: git config --global core....
  • 141
3 votes
1 answer
417 views

Alternative to CTRL + C of macOS Terminal in Sublime Text 3

On macOS terminal ctrl+C terminates the program running. In Sublime Text, cmd+B runs a program such as Python, Ruby or such. If I want to terminate a running code, what is the shortcut key in Sublime ...
  • 187
1 vote
1 answer
445 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 ...
  • 110
3 votes
1 answer
863 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 ...
  • 133
1 vote
1 answer
3k 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 ...
  • 129
2 votes
1 answer
894 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
0 answers
20 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?
  • 653
1 vote
1 answer
108 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 ...
  • 213
1 vote
2 answers
6k 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 ...
  • 503
0 votes
2 answers
108 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
1 answer
866 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
3 answers
2k 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 ...
  • 437
3 votes
3 answers
576 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, ...
  • 2,501
1 vote
1 answer
177 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 ...
  • 2,075
7 votes
1 answer
13k 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,075
2 votes
0 answers
150 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
2 answers
2k 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 ...
  • 203
1 vote
1 answer
40 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 ...
  • 589
1 vote
1 answer
616 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
1 answer
2k 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
2 answers
6k 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
5 answers
8k 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
1 answer
8k views

How can I change the encoding of a subtitle file? [duplicate]

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
1 answer
157 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 ...
  • 4,151
1 vote
2 answers
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
1 answer
4k 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
1 answer
835 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 ...
  • 2,075
9 votes
1 answer
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 ...
  • 283
1 vote
1 answer
703 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. ...
  • 11
23 votes
5 answers
71k 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
1 answer
72 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
1 answer
1k 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 ...
  • 151
2 votes
1 answer
5k 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
1 answer
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?
  • 231
1 vote
1 answer
569 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
1 answer
344 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 ...
  • 3,127
2 votes
0 answers
62 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 ...
  • 121
0 votes
1 answer
428 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" ...
  • 312
3 votes
2 answers
547 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
1 answer
138 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
2 answers
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
1 answer
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, ...
  • 10.1k