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

learn more… | top users | synonyms

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
vote
1answer
664 views

How to change Sublime Text temp file location?

Sublime Text stores the temp file alongside the file under edit as ._foo.txt. How to change it's location and/or naming scheme? In could do it in say vim with set dir=/var/tmp, is there anything ...
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 ...
1
vote
2answers
411 views

Sublime Text 2 'text bubbling'?

In vim and Notepad++ I have an awesome feature either mapped or built in that I've seen called text bubbling. I know about the Sublime documentation for mapping my own, but wanted to make sure I ...
23
votes
3answers
43k views

Sublime Text 2 - Encoding UTF-8

How do I change the file encoding in Sublime Text 2? How do I change character encoding of a text file in OpenOffice.org writer? http://www.sublimetext.com/forum/viewtopic.php?f=4&t=3541
-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.
12
votes
4answers
7k views

How to open file using only keyboard in Sublime Text?

How do I open a file using only keyboard in Sublime Text 2/3? Looking for equivalent of <Esc>:e /path/to/file from Vim.
1
vote
1answer
166 views

Sublime Settings — Syntax Specific: “show_panel_on_build” not overriding with Markdown syntax

I am trying to turn off the build panel showing on build when using markdown syntax. I am on OSX and using Marked for markdown preview and I don't want the build panel popping up with a pointless ...
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
2answers
462 views

How to remove bullets from the gutter toolbar in Sublime Text 2?

I don't know how these bullets appeared in my gutter toolbar: How can I remove this from my Sublime editor?
6
votes
2answers
3k views

Edit both opening and closing html tag

Is there a way (core or plugin) that a closing html tag name changes accordingly when renaming the opening one ? A behaviour similar to multi-selection...
2
votes
1answer
2k views

Vim: Fuzzy file search comparable to Sublime Text 2's?

I've tried FuzzyFinder, ⌘+T, and Ctrl+P (which is my finder of choice right now), but none hold a candle to Sublime Text 2. For example, I want to type: Head.php and have it find, among others: ...
5
votes
1answer
216 views

Quick navigation between folders in the project on Sublime Text 2

For example, we have lots of folders in the project, and I want quickly navigate between them. How can I do that? Maybe there exists a command in console that opens (expand) htdocs/js/jquery folder ...
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
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 ...
2
votes
2answers
1k views

How to set PHP syntax for a file without <?php tag?

When I set syntax to PHP in Sublime, all thing is good in my PHP code: But when I remove <?php tag from my code, the syntax highlighter doesn't work anymore: How can I tell sublime to do ...
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
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
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
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
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 ...
19
votes
1answer
12k views

Search and replace with TAB character in Sublime Text 2

In Sublime Text 2, I want search and replace by the TAB character. I tried replacing with \t char but it's not working. How can I do it?
2
votes
2answers
3k views

Sublime Text 2 open last opened files from last seesion. Mac OS X

I'm a big fan of Sublime Text 2. Previously I used to work on Fedora. There whenever I closed sublime text 2 (with a lot of files opened) and opened after a system restart, or just closing sublime ...
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
566 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 ...
2
votes
2answers
522 views

ipython and sublime text 2

I really love how Rstudio has a shortcut for running a line of selected code, this allows for much quicker coding. I notice more and more however, that I need to work in python as it offers a bit more ...
20
votes
3answers
6k views

Turn Off Parenthesis Matching in Sublime Text 2

I have questions about turn off parenthesis matching. Does anyone know how to turn off parenthesis matching? example: When I type a (, it will automatically add ), becomes (). It's pretty nice for ...
1
vote
2answers
672 views

Google Chrome Extension like Sublime Text 2 Minimap Scrollbar?

Is there an Google Chrome extension that adds a minimap next to the scroll bar like Sublime Text 2?
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 ?
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 ...
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
vote
1answer
342 views

How to set JS-Syntax for .js.php-Extension in Sublime Text 2?

I have several js-Files (and css-Files), which need php-Commands. So I changed the extension to .js.php or .css.php But when I open the file in Sublime Text 2, I always have to change the syntax ...
-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 ...
1
vote
1answer
437 views

How come my bind for ctrl-` doesn't work in Sublime Text 2 on Bootcamp?

Not sure what's up with this. But my default bind for ctrl-` in Sublime Text 2 doesn't work. I can rebind it to something else, that works, but the app doesn't recognize any bind involving the ` key. ...
2
votes
5answers
4k views

How can I run SASS in Sublime Text 2?

I downloaded this SASS syntax highlighting files and done the four steps instructed (as a Mac user). But I don't know how to run it so that my .sass file is converted to .css Can you suggest me ...
5
votes
1answer
2k views

Mac: Edit in Filezilla with Sublime text always open a new Sublime window

With my Mac, everytime I want to Edit a file from Filezilla, it open a new Sublime text window. Is there a way to tell Filezilla to open the file in the current window if it already exist?
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: ...
4
votes
2answers
4k views

Better syntax highlighting for Java in Vim?

I've found Vim to have fantastic syntax highlighting with my preferred color schemes for Ruby and Python, but whenever I need to write Java code, it's like I haven't even turned on highlighting in the ...
0
votes
0answers
51 views
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 ...