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

learn more… | top users | synonyms

0
votes
0answers
5 views

(osX) Applescript to run compile shortcut in TexShop not working while in Sublime Editor

I'm trying to write an script so that when I'm in Sublime I can use a keyboard shortcut to get it to: save in sublime compile in TeXShop (I'm using it with the external editor setting) then switch ...
-2
votes
1answer
14 views

Could you modify a file from a game in this manner?

What I am about to ask is probably going to sound like science fiction, but if I grab a usb, hook it up to my xbox and copy (for example) madden 15 to it. Then I plug it into my computer and open it ...
0
votes
1answer
95 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
15 views

Is there a way to assign keys in the command pallet list to jump to desired item instead of the default item in sublime text?

In the command pallet, when I type "gl", the default option is "Git: log", but I would rather have it "Git: Graph All". For example, I type in "gl" and instead of the default option "Git: Log All", ...
1
vote
0answers
14 views

How to find out which command corrosponds to which command pallet list items in sublime text?

The git plugin for sublime text has many options populated in the command pallet but I want to assign keyboard shortcuts to some of them. How do I find out which commands to use for those commands? ...
4
votes
2answers
291 views

Sublime Text: Keyboard shortcut for close all other tabs?

If you right-click a tab name you have three options for closing: Close Close others Close tabs to the right If you go through the default shortcuts you'd see only the first is possible using the ...
0
votes
1answer
11 views

Text editors with grid cursor alignment function?

I don't know how it is called properly, if it has some exact term. I use text editor called ConText which has different way to positioning cursor in a document, so it is like grid-oriented. It means ...
0
votes
0answers
13 views

Windows : Clearing contents of a locked file using notepad++ and getting new contents

Trying to clear the contents of a locked file using notepad++. Contents got cleared and the new contents not get updated instantly. I can view those contents only after restart. I once got this ...
0
votes
1answer
13 views

Uninstall Sublime Text 2

I'm upgrading from Sublime Text 2 to Sublime Text 3 on my Windows 7 PC. Add/Remove Programs does not have any entries for Sublime Text. How do I remove Sublime Text 2 completely, including removing ...
6
votes
3answers
1k views

Renaming open files in sublime text 2

I am trying to rename open files in sublime text 2. In version 2.0.1 Build 2217, you could rename by pressing f2 or by opening the command palette by pressing Ctrl + Shift + P and entering rename. ...
2
votes
1answer
686 views

Disable removal of whitespace at the end of an empty line in Sublime Text 2

If I have this sample code: function foo() { var bar = 1; var foo = 1; // These two lines will be indented on save, // however the following line will have it's indention removed: ...
0
votes
1answer
26 views

Choose first comma after specific pattern on each line

I have almost thousand lines each with the same structure and I have to edit one part of it. "650","4","The lenght of this part varies, Here's some commas, here, and, there" "203","4","Now this is ...
1
vote
1answer
34 views

How can i increase file tab size of sublime text 3?

i just started using sublime text3 on windows 7.The font size of file tab is too small for me. Is there a way to change tab color to white? How can i increase file tab size? How can i increase file ...
1
vote
1answer
19 views

sublime text 3 on mac os not keeping project open

I'm using sublime text 3 on mac. Whenever I've had a project or folder open and closed the window (not quit the app) it would remember where i last left off, and open my last window. I noticed now ...
3
votes
4answers
6k views

auto-close HTML tags in Sublime Text

I'm using Sublime Text 2, and I'm sure there must be a way to make it auto-close XML/HTML tags, the way for example Notepad++ can. Is there a way to have it add </div> immediately after I type ...
0
votes
0answers
46 views

Sublime text 2 Unable to save hidden files on windows

In windows, upon saving changes to a file that's hidden, sublime text 2 throws the error "Unable to save". The good commenter below confirms it's only me who's having this problem.. I've tried ...
0
votes
0answers
13 views

Open file from Sublime Text with shortcut

I would like to add a shortcut (shift+ctrl+alt+o) to open the current file in Total Commander. I already know the arguments for Total Commander (/O /T "path"), but need help with Sublime Text 2.
4
votes
5answers
1k views

I can't write the open square bracket in Sublime Text 2 - How can I find out why?

I'm running Sublime Text 2 on Windows x64 with the following packages installed: Package Control CoffeeScript EncodingHelper GIT MarkDown Preview Python PEP8 Lint Stylus SFTP Theme - Soda I had ...
1
vote
2answers
30 views

Editing a sublime theme, how to know which key string corresponds to which text element in the code?

I want to customize the color scheme of the comments in my code, by editing the .tmTheme How to know which of the <dict> <key> corresponds to which element of the code? Like, I can ...
0
votes
1answer
23 views

sublime text: hide view group without closing it

I open multiple groups in sublime and then want to temporarily hide some of them, in order to maximize the screen space of the others. But I don't want to close the group, because I still want to use ...
0
votes
1answer
22 views

In a sublime theme, what scope key defines the color of the cursor?

I'm trying to change the color of the cursor in a Sumblime theme. What scope key defines the color of the cursor in .tmTheme file?
0
votes
1answer
10 views

Edit Project directly from remote server

I am currently working with PHP/HTML on a remote server via PHPStorm. I love how intelligent it is, but i dont like how it forces me to have a local project and that i have to sync it. Is it any way ...
0
votes
0answers
68 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
1answer
20 views

Sublime always opens with the same files loaded

Running Ubuntu 12.04 and Sublime text 2 I can close them a hundred times. I've tried with ctrl+q and ctrl+w. I have changed hot exit to false and remember windows to false and rebooted. But when I ...
2
votes
1answer
257 views

How to prevent ST2 from searching in excluded folders?

I've got a sublime-project like this: { "folders": [ { "path": ".", "folder_exclude_patterns": ["_doc", "cache", "logs", "_release"], "file_exclude_patterns": ...
2
votes
2answers
1k views

What is the shortcut to break up multiple lines into one in sublime text 2?

Please browse to the sublime text homepage and have a look at slide #2. There is a "screenshot movie" showing several commands, but there is no explanation. Just CTRL+SHIFT+L for multiple selection. ...
4
votes
1answer
344 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 ...
1
vote
1answer
25 views

Sublime shortcuts for commonly type code

I use Sublime often and I find myself typing many of the same bits of boilerplate code on a very regular basis. For example, something as mundane as <div class="row"> </div> Is there ...
2
votes
2answers
977 views

Redefine file extension associations in Sublime text 2

I have noticed that Sublime text 2 by default associates files with *.scm and *.ss extensions with lisp language. But it's scheme actually. Is it possible to redefine this association somehow (in ...
0
votes
1answer
26 views

How to delete whole python and reinstall?

I have set the python window size wrong. I set the width to something like 99999 and caused a crash. Since then, I tried to delete every package installed with python, and then reinstall, but this has ...
0
votes
1answer
2k views

Convert text file to ASCII, not ANSI in Sublime Text

We have a project where we need to convert weird characters generated from all kinds of file formats into ASCII due to compatibility issues. Is it possible in Sublime Text 2 to convert the encoding ...
0
votes
1answer
76 views

Keep console open in Sublime Text 3 even when using `find`

I have started using gulp to run my website build process. As part of the process is linting I need to ideally have eyes on the console log for any errors. Therefore rather than running it in ...
0
votes
0answers
7 views

define hotkeys minimize and restore Window on the sublime text 2

I want to create a hotkey to minimize and restore the sublime but even the Main.sublime-menu is undefined ! { "keys": ["ctrl+shift+w"], "command": "toggle_minimize_restore_window" } I apologize ...
3
votes
1answer
2k views

How can I set key bindings for menu items in Sublime Text 2?

There is no keyboard shortcut for menu items such as Refresh Folders. I have to use my mouse every time. How can I define key bindings for menu items in Sublime Text 2?
2
votes
1answer
62 views

Sublime Text 2 remapping keys

I'm using sublime as my main text editor and I am remapping my arrow keys from the arrows to alt+i, alt+j, alt+k, and alt+l. I have noticed that on Ubuntu 14.04 after I remap my keys that when I ...
3
votes
1answer
213 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 }, ...
0
votes
1answer
199 views

SublimeText - Ubuntu 14.04 (Radeon 8650) - Very slow performance

I've been using Sublime for a couple of years now and it's been fine until a couple of days back, when I upgraded to Ubuntu 14.04 on a AMD APU A10 machine. I was using 12.04 on a Core i3 processor ...
1
vote
2answers
54 views

Sublime Text 3: How to jump to the parent/enclosing function?

Is there a quick keyboard shortcut or Command Palette function to quickly jump to the parent/enclosing function? So if the cursor is in a function, then I want to quickly jump to the first line of ...
0
votes
0answers
24 views

In Sublime Text 2, how do I highlight any code which is between <?php and ?>

I'm coding in php for a Wordpress project at the moment and using Sublime Text 2. It's great, however, I would love to be able to quickly see what is php and what is html (also javascript, but that is ...
0
votes
0answers
26 views

PHPStorm -> Sublime Text mac shortcut

I have googleing around for this, but have not found the answer. I have just gone from sublime text to PHPStorm. Is there any similar shortcuts for selecting variable(CMD+D), multiple cursor etc?
0
votes
0answers
34 views

Sublime key binding not working

I am trying to bind some keys to handle some layouts in sublime, and they are as follows: { "keys": ["super+alt+ctrl+down"], "command": "set_layout", "args": { "cols": [0.0, ...
0
votes
1answer
63 views

Firefox developer tools Color Scheme for Sublime text 2

How to find a Color Scheme (file "*.tmTheme") with Firefox developer tools for Sublime Text 2?
4
votes
3answers
3k views

Command Line from within Sublime Text

I recently switched from Notepad++ to Sublime Text 2, and it's amazing. There's one thing I'd appreciate and that's compiling my files from the same environment. Sublime text has a console and a ...
7
votes
1answer
2k views

Convert variables between camel case and underscore style

I would like to convert variables from or to UpperCamelCase, lowerCamelCase, underscore_style, or even "separate by spaces". This would be useful for coding and making documentation. I use Sublime ...
27
votes
5answers
9k views

Can I right-click a folder in Windows 7 and choose “Open with Sublime Text”?

In Windows 7, I can do this at the command line: "c:\Program Files\Sublime Text 2\sublime_text.exe" samplefolder This launches a Sublime Text window, with the contents of samplefolder loaded in ...
0
votes
1answer
26 views

Cannot create key bindings with the pipe-key on my Norwegian keyboard in Sublime Text 2

I am trying to bind ctrl+| to Show Console in Sublime Text 2 on a Norwegian keyboard using the following line in the (json?) configuration file: { "keys": ["ctrl+|"], "command": "show_panel", "args": ...
2
votes
1answer
2k views

SublimeText2: Packages does not show up on Package Control: Install

When I was installing some packages, I found that my Package Control: Install Packages although comes up after pressing enter nothing happens. Does anyone else had this issue? I do not know after ...
0
votes
1answer
21 views

No Replace function with COMMAND+ALT+F shortcut in Sublime Text on mac

CMD+SHIFT+E (which is for Replace Next function) works fine. Pressing CMD+ALT+F doesnt even highlight the Find menu momentarily. I can't work out where is the shortcut going, or what's highjacking it. ...
1
vote
1answer
61 views

Change project in sublime text, sourcetree & codekit

I'm a web developer, and often need to switch between projects. This means I need to: Change project in Sublime Text 2 Change project in CodeKit Change project in SourceTree Note: I'm using Mac ...
0
votes
1answer
162 views

Disable a Sublime key-binding entirely?

I want to get rid of these completely: { "keys": ["ctrl+up"], "command": "scroll_lines", "args": {"amount": 1.0 } }, { "keys": ["ctrl+down"], "command": "scroll_lines", "args": {"amount": -1.0 } }, { ...