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

learn more… | top users | synonyms

0
votes
0answers
98 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
54 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
1answer
25 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
46 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
47 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
56 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
111 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
19 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
497 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
24 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
53 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
41 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
60 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
1answer
203 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
124 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
261 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
134 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
56 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
37 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
44 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
38 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
42 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
137 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
1k 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
63 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 ...
1
vote
1answer
109 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 ...
2
votes
1answer
106 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
565 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
114 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
570 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
217 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
114 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
174 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
71 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 ...
-1
votes
1answer
41 views

Do i need to install gems required by a Sublime Text plugin into rvm's global gemset or will default do?

If a Sublime Text 3 plugin asks me to install a gem for the plugin to work, do i need to tell rvm to install this gem into my global gemset for it to work properly or can I simply type 'gem install ...
0
votes
0answers
51 views

How to make Sublime Text highlight “$this->” for PHP?

How do I make Sublime Text highlight $this-> for PHP files?
0
votes
1answer
339 views

Sublime Text with SuperAnt path is not correct

Since upgrading to the latest Mac OSX (10.9.1) I cannot run builds in Sublime Text using the SuperAnt tool. Here is the error: <> are my privacy omissions [Errno 2] No such file or directory: ...
0
votes
1answer
45 views

TextMate-like bundle editor for Sublime Editor

I know that Sublime Text has packages and also a package manager you can use to install additional bundles. For example, I installed the Go bundle but I'd like to extend it by adding some custom ...
0
votes
1answer
251 views

How to substitute a text block in column mode in Sublime Text 2/3

Given a highlighted/copied block of columnar text that is on say 10 lines. The objective is to overlay that area on top of a different set of 10 rows. Well what happens is when you "paste" in Column ...
0
votes
0answers
112 views

All Settings lost on restart of Sublime Text 2

Some strange thing is happening from last two days with my SublimeText 2. On restarting of my computer the settings are lost. Below are my configuration details: SublimeText 2: Portable Version ...
0
votes
1answer
1k views

formatting or beautifying Javascript in SublimeText

Saw this thread Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)? for an html formatter in SublimeText. Does anyone know of something equivalent ...
2
votes
2answers
706 views

Sublime: Save set of tabs to open

I have several files that I edit frequently, and I need all of them open at the same time. I am wondering if there is a way in sublime to save a set of files to be open...sort of like how in chrome or ...
8
votes
3answers
2k 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. ...
1
vote
0answers
40 views

OSX skip word shortcut no longer working

Using OSX Mavericks on a rMBP, I've been working in Sublime Text 2. All of a sudden, the skip word shortcut is no longer working. I've tried: resetting my computer running killall Dock resetting ...
1
vote
1answer
65 views

Sublime-Text-style autocomplete in Word?

I know that Word has a built-in autocomplete function. As far as I know, though, apart from dates, if I want a particular word to come up as a suggestion, I need to have it saved as an auto text. Is ...
0
votes
1answer
144 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
1answer
18 views

Modifying program's drive path after installation?

I had installed Sublime text on drive D:. After few days of working with it, I would like to have the program hosted on the E: drive, without going through the uninstall-install cycle. Is it ...
1
vote
3answers
125 views

How to shorten list of syntax options in Sublime Text

Using Sublime Text 3, is there a way to shorten the list of syntax options that are presented when changing the syntax? There are about 50 language options, and I only use about 5, so I'd like to only ...
2
votes
1answer
389 views

Non-blocking editing of remote files via SSH

On OS X, I frequently need to edit files that are actually stored on a remote Linux server I connect to via SSH over VPN. When I'm at the physical of the location of the server, I can easily mount the ...
2
votes
1answer
98 views

Is there a Sublime Text plugin that favours frequently opened files when using 'Goto Anything'?

90% of my 'Goto Anything' usage is opening the same 10 or so files. It would be ideal if this was factored into the search results, to reduce the amount of keystrokes required. Is there a plugin that ...