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

learn more… | top users | synonyms

0
votes
1answer
47 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
52 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
47 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
182 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
66 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
155 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
2answers
207 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
841 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
120 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
1k 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
277 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
149 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
286 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
91 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
56 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
1answer
449 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
47 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
271 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
158 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
2k 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
1k 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
3k 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
41 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
72 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
220 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
19 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
184 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
2answers
487 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
106 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 ...
1
vote
1answer
1k 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 ...
2
votes
1answer
42 views

make \w match characters like ÄÖÜäöüß?

Is it possible to customize the behavior of regex metacharacters for character classes like that? (In Sublime, or more generally.)
1
vote
0answers
37 views

Sublime Text 2: leave goto windows on focus lost

How to set it not to close goto window: For example, I open it to install package, then Alt+Tab to browser. When I choose what to install and go back to Sublime - there is no more goto window so I ...
1
vote
2answers
1k views

Does Sublime Text 3 keep a command log? If so, where can I find it?

I use Sublime Text 3 and can open Sublime command line with command CTRL + ` ... and I can run commands there and see results in a log window, but I cannot search in that log window. I believe the ...
1
vote
2answers
85 views

Getting Sublime Text 2 to treat jsm the same as js

I'd like to have sublime text 2 treat .jsm files the same as it does .js files.
1
vote
1answer
650 views

Better markdown syntax highlighting in sublime 2

The markdown syntax highlighting in sublime text is fairly mediocre. Even when I install the markdown extended package it's still mostly displayed as plain white text. When I search ...
0
votes
2answers
439 views

How can I get sublime text to run from the command line?

I am trying to get sublime text to run from the command line using this tutorial http://www.sublimetext.com/docs/2/osx_command_line.html It says to run this command: ln -s "/Applications/Sublime ...
0
votes
0answers
160 views

Vimperator: sublime text as an external editor in os x

I tried to set up Sublime Text 2 as an external editor for Vimperator on os x, but with no success. Here is what I have in my .vimperatorrc: set editor='bash -lc "subl -w"'
0
votes
0answers
450 views

-std=c++11 not working with Sublime Text 2 on Mac

So, I installed gcc 4.7 with ports. Manually compiling my file with g++ file.cpp -o file It spots an error. By appending the -std=c++11 it works like a charm. Now I edited my C++.sublime-build: { ...
0
votes
1answer
278 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 } }, { ...
0
votes
2answers
373 views

Replace or remove numbers next to text in Sublime Text 2?

I have list of keywords with numbers next to them in Sublime Text 2. Something like Sample tag 141870 Sample tag 36786 Sample tag 10651 Sample tag 266357 Sample tag 2251 Would there be any ...
0
votes
2answers
637 views

Mac Keybinding in Sublime Text 2

I am trying to set up a custom key binding in Sublime Text 2 (on Mac) so that I could use my keyboard "Home" and "End" keyboard keys to go to the beginning / end of line(s) as I am used to using those ...
1
vote
1answer
924 views

How to generate ordered and unordered list from couple lines in Sublime Text

How to efficiently generate ordered and unordered list from couple of lines? Let's say: list item 1 list item 2 list item 3 into <ul> <li>list item 1</li> <li>list ...
4
votes
3answers
4k 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 ...
0
votes
0answers
283 views

Why isn't my custom GNOME launcher showing

I'm trying to get a launcher to show up on Arch linux with Gnome 3.8 but for some reason it doesn't show up on the menu. I have to strip down the version of the original sublime_text.desktop file ...
0
votes
1answer
127 views

How to make Vimperator work with Sublime Text 2?

I am using Firefox & add-in Vimperator and want to use Sublime to edit textareas. Currently when I focus textarea and press CTRL+i I get "Command not found: gvim". I already have Sublime ...
0
votes
2answers
701 views

Selected variable highlighting and word separators in Sublime Text

I removed the dollar sign from the list of word separators to be able to select PHP variables with double-clicks. Problem is when i select a variable: what i would expect is all other occurrences of ...
1
vote
1answer
227 views

Text editor that shows preview window of CSS classes, ID's and elements [closed]

I use a combination of Notepad++, Sublime and also Dreamweaver. I still use DW because of its really handy CSS Styles window, and for me its the quickest way of navigating through large CSS files. ...
0
votes
0answers
265 views

Set default build system with Sublime Text 2

I installed Sublime Text 2 on two machines: a not-so-old laptop running windows 8 and a much older laptop running windows xp. When I set a build system on the old laptop, it remembers my choice, and ...
2
votes
0answers
304 views

Where is the console ST2/GDB

I'm using sublime text 2. I got GDB to work but I don't see a console window anywhere. I see the GDB console but nothing that outputs text from my C++ program. How do I use GDB and see my the console ...