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

learn more… | top users | synonyms

0
votes
1answer
9 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 ...
0
votes
0answers
11 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
11 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
8 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?
1
vote
2answers
28 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 ...
2
votes
0answers
25 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 ...
0
votes
0answers
19 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
0answers
16 views

can't edit hidden files in sublime text 2

In windows, upon saving changes to a file that's hidden, sublime text 2 throws the error "Unable to save". Is there a setting or something to enable editing of hidden files?
0
votes
1answer
16 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": ...
0
votes
1answer
32 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?
0
votes
1answer
13 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. ...
0
votes
0answers
13 views

Sublime Text unaligned elemets in bottom pannel

I'm using padding properties for code view formatting to add air between lines: "line_padding_bottom": 6, "line_padding_top": 6, but in search panel (and other bottom tool panels) icons is ...
0
votes
0answers
16 views

Increase textarea padding in Sublime Text

Is there a way to increase the spacing between the title bar and the textarea in Sublime Text? As you can see, the first line of code is too far up. The following worked, but I'd like know if ...
-1
votes
0answers
12 views

Sublime Text show opened files shortcut

It should very useful can show a list with all opened files with just a keystroke and navigate up and down to move to it. Anyone knows a shortcut or a maneuver to achieve it? 1) Show this list is ...
0
votes
0answers
7 views

When I close a tab in sublime text, can I have it select the tab above it, instead of the previously selected tab?

Is there a setting to do this? Lots of times I want to close many tabs in a row based on their position in the tab bar but instead the last interacted with tab gets selected instead meaning I need to ...
0
votes
1answer
39 views

Hide build results window in Sublime Text 2

After a build command (control + b) a window with results appear. Is there any way (not automatically but by shortcut or using another command) to hide it?
0
votes
0answers
32 views

Sublime Text 2 + Eval in REPL

Using sublime text 2 on windows 8, I've set my key-bindings to: [ { "keys": ["ctrl+alt+f"], "args": { "id": "repl_f#", "file": "config/F/Main.sublime-menu" }, ...
0
votes
1answer
30 views

Shortcut comment next to tags in BBedit

In Sublime Text 2 I can create a comment next to a tag by using shortcut alt+cmd+/ which results in something like this: <a href=""></a><!-- --> How can I shortcut comments next ...
0
votes
0answers
14 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 ...
0
votes
0answers
14 views

Sublime Text: Do not save readonly files on focus lost

Some files may be readonly, and I become annoying modal windows after losing focus. Is it possible to disable the "save_on_focus_lost" option only for readonly files?
0
votes
1answer
39 views

What is the hotkey to perform a replace in the Find in Files dialog?

Hovering over the Replace button does not show me a hotkey in the Find in Files dialog. What is the hotkey to do so? Otherwise, how can I give it one?
0
votes
0answers
20 views

How to define new scopes using arbitrary delimiters in Sublime Text 2

TL;DR: How do I bring Ruby-like comment scope to plaintext files for sublime text? I want to customize my plaintext file look in ST2 by allowing comments. So far I have managed to extend the ...
1
vote
1answer
34 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
13 views

How to execute key combination (^,, f) in sublime REPL?

I installed sublime REPL where the key map for evaluation file content in REPL is "^,,f". How can I use keyboard for clicking the key sequence? I tried ',',',', and 'f' while pushing control key, ...
0
votes
0answers
104 views

How to revert changes on a file in sublime-text 2?

Through some horrible circumstances one of my files has been changed without me knowing, possibly by repeatedly having pressed Ctrl+Y or something like that. Is there are any internal buffer in ...
0
votes
0answers
20 views

Sublime Text 2: refactor Python line into method / create a method

ST 2, Python. Code in body of class method: print 'here' bar = foo(*args) I'd like to select foo and refactor it into a class method, or create it if it does not exist yet: def foo(self, *args): ...
0
votes
0answers
37 views

Selecting words with the keyboard in Sublime Text

I'm using Sublime Text 3 on Windows 8.1. Could be ST2, I don't think this is relevant. I'm aware we can add multiple cursors to select different portions of different lines. Also, if we're looking ...
0
votes
1answer
23 views

Checkpoint code in text editor (like a micro version control)

When I'm editing code, I want to periodically checkpoint my code (ranging from every 10-20 minutes to a few hours). Consider it as a micro version control at local level & something that I discard ...
-1
votes
1answer
51 views

Sublime Text 2 theme from this screensot [closed]

Just found a screen of a fresh looking dark SB2 theme, file is of literate coffeescript: If anyone recognises it can you answer with a package name.
0
votes
0answers
64 views

In Sublime Text, how can I specify the fold level, with keyboard shortcuts, without having to unfold all first?

I'm trying to work out how to get code folding working how I want in Sublime Text 2. I can ⌘+K, ⌘+J to unfold all. Then I can do ⌘+K, ⌘+1 to fold all. At this point, I want to be able to go straight ...
2
votes
2answers
66 views

Code line marker in sublime text 2

I personally like this feature in notepad++ Do you know how to do this in Sublime Text 2?
0
votes
1answer
142 views

Better setting of EDITOR environment variable to use Sublime Text 2 as system editor?

I want to use Sublime Text 2 for editing Git commit messages. Right now I have the following in my bash rc file: export EDITOR="sublime -nw" This works well if Sublime is already running. But if ...
0
votes
1answer
56 views

Sublime indenting style of Latex files

Here is a part of my LaTex code and what I want it to be: ... \begin{center} \begin{table} \begin{tabularx}{\textwidth}{|l|l|l|X|X|X|X|} ... However, if I re-indent it in Sublime Text ...
0
votes
0answers
34 views

Shell hangs after passing STDIN to EDITOR with -w parameter

I want to edit svn's svn:ignore property: svn propedit svn:ignore . This doesn't work: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set, and no 'editor-cmd' run-time ...
0
votes
1answer
30 views

how to know format of command for sublime text 3 keyboard bindings

I looked at the key binding doc for sublime text 3, and I change some of the existing key bindings.. however, I would like to create a keybinding for the command project-> new workspace for ...
0
votes
1answer
30 views

Can Sublime Text alter CSS file properties and values to each line

I was wondering if you could in Sublime Text alter a .css file from: selector { property: value; property: value; } to: selector { property: value: property: value; ) ...
0
votes
0answers
26 views

How can customize Sublime Text's date format

When I do date<tab> or even d<tab> Sublime inserts date in format like this: 2014-02-24 10:31 It happens in every mode, so I guess it's not mode-linked. I like that, but I'd like to ...
0
votes
0answers
38 views

Copy Sublime Syntax from one theme to another

I like to use Sublime Text 2, but the theme I use (Pastels on Dark) doesn't have the syntax for certain key words in C#. As I understand it the theme is linked to the syntax (or visa versa) Below are ...
0
votes
2answers
72 views

Vim/Sublime Vim bindings move cursor forward/back by one

I'm new to Vim bindings and I want to start using them in Sublime, but ran into a few stumbling blocks. When I type various kinds of enclosed tokens, such as "string literals" or {code blocks} or ...
0
votes
1answer
537 views

How do i get the sublimetext Autoprefix CSS plugin working on Ubuntu?

I installed everything per this Article: Adding CSS Vendor Prefix Automatically with Sublime Text But when i CTRL-SHIFT-P and select Autoprefix CSS, while am on a .CSS file, nothing happens? How can ...
0
votes
1answer
54 views

Expand selection from cursor to search term in Sublime Text

I use Sublime Text often for non-coding writing, where the ability to select/highlight text from a cursor position to a search term can be handy. Is this possible with the built-in shortcuts? To give ...
0
votes
0answers
43 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
31 views

Key binding for save all

I want to key bind save all to ctrl+alt+S. I know this has been asked and answered on the sublimelime text forum but it's currently down for me. Does anyone remember how to do it?
1
vote
1answer
228 views

Sublime Text 3 slow saving to network drive

I've got a project I'm working on in SharePoint. I've mapped the SharePoint library to my computer and have been working on the files using sublime text 3. However, saving files in sublime is taking ...
0
votes
2answers
96 views

What's Sublime Text 2's equiverlant to vim's Ctrl-P?

Sublime Text is great but Ctrl-P (and Ctrl-N) in vim (inserting a word with same starting characters in insert mode) is such an essential feature that I just cannot live without it. Is this ...
3
votes
2answers
201 views

In Sublime Text how do you short-cut writing code?

My apologies but I do not know what its called, if this has been asked or what Stack site this is best suited for. I've seen several videos on how people use Sublime to create quicker tags and I ...
1
vote
1answer
122 views

Delete lines from cursor to end of file

with sublime text, I can delete from cursor to end of line with super+k-k how I can delete from cursor to the end of file ?
0
votes
1answer
67 views

Are the shortcut keys in Sublime Text 2 the same on OS X and Windows, if you exchange Cmd with Ctrl?

I am using Sublime Text 2 on OS X, and I really like that editor. Now I need to explain the way Sublime Text 2 works to someone who is using Windows, and of course there's no Cmd key there. I guess ...
0
votes
2answers
91 views

How to undo when code collapses into an ellipsis?

I accidentally hit a key combination which collapsed my code to a yellow ellipsis symbol. Can anyone tell me how to undo it? There is no button or symbol in the left side of the page that I can ...
0
votes
1answer
43 views

Open Commonly Edited File Easily in Sublime Text 2/3

Can someone please tell me how I can setup Sublime Text 2 or 3 so that my F1 key on the keyboard opens up a file that on my system sits in: C:/users/myname/projects/main/intranet/web.config I ...