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

learn more… | top users | synonyms

0
votes
2answers
48 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": ...
22
votes
1answer
7k views

Switch between columns' active tabs in Sublime Text 2

I know Sublime Text makes the following commands available: ctrl+tab and ctrl+shift+tab - navigate through recent tabs ctrl+pageup and ctrl+pagedown - navigate through adjacent tabs I usually keep ...
2
votes
3answers
29 views

How do I get files with no extension to open with Sublime Text 2 by default?

Whenever I download programs or MediaWiki extensions there nearly always are README, INSTALL and COPYING files contained within the downloaded directory(s). These files usually have no file extension ...
6
votes
2answers
13k views

Sublime Text 2: Disable cursor position overwriting characters (like vim replace mode)

I'm not sure how, but I managed to get Sublime Text into a 'Replace Mode' which at whatever position the cursor is at, it overwrites the next character with whatever you press instead of inserting it. ...
0
votes
0answers
15 views

How do I easily highlight PyMOL code in Microsoft Word 2013?

Now I realize that several questions similar to this one exist on Superuser (e.g., How do I easily highlight the syntax of PHP code in Word?) but I believe there is enough difference for this not to ...
2
votes
2answers
122 views

Files last modification date

This seems like such a simple thing that I'm convinced I must be just missing it somewhere. Is there a setting or a plugin that will display the last modification date/timestamp of the file you are ...
0
votes
1answer
3k 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
2k views

How do I add Sublime Text the Windows 8 “Default Programs” list?

I've tried using the following registry file to add Sublime Text 2 to the Default Programs list in Windows 8 Enterprise x64. It doesn't show up. All the paths are correct. This method has worked for ...
15
votes
3answers
21k views

Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?

For example, something to change: <section><article><h1></h1><p></p></article></section> to: <section> <article> ...
0
votes
1answer
32 views

sublime text 2 - multiple key bindings don't work, only last one

I set up a few custom key bindings, but only the last one always works, the ones before it don't. [ { // "keys": ["ctrl+b"], "command": "insert_snippet", "args": {"contents": ...
0
votes
0answers
8 views

Can't find Autoprefixer in sublime

I installed everything per this article: Adding CSS Vendor Prefix Automatically With Sublime Text I press CTRL-SHIFT-P, while am on a .CSS file and typing in "Autoprefixer", but such an extention I ...
27
votes
2answers
17k views

Sublime Text 2: how to force all files to open in a single window?

I like using a single Sublime Text 2 window with multiple tabs. Currently, when I click on files in Finder that are openable via ST2, they open in separate ST2 windows. How do I force ST2 to open ...
0
votes
1answer
281 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 ...
2
votes
2answers
479 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
2answers
192 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?
3
votes
3answers
4k 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 ...
1
vote
1answer
19 views

Determine which plugin is overriding key bindings

I'm using Sublime Text 3 on Windows 7. In Key Bindings - default: { "keys": ["f9"], "command": "sort_lines", "args": {"case_sensitive": false} }, { "keys": ["ctrl+f9"], "command": "sort_lines", ...
0
votes
0answers
11 views

Is there a way to convert indentation to tabs whenever a document is pasted into sublime text?

most documentations (of codes) are indented with space on the web these days (due to html formatting). It's a bit inconvenient to repeatedly use convert indentation to tabs command in sublime text. I ...
42
votes
4answers
16k views

How can I filter a file for lines containing a string in Sublime Text 2?

I want to filter a file I'm editing in Sublime Text 2 for lines contain a certain string, if possible including regular expressions. Consider the following file: foo bar baz qux quuux baz When ...
8
votes
1answer
1k 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?
2
votes
1answer
54 views

How to column select in Sublime Text 2 on a HP Envy laptop

I want to be able to column select in Sublime Text 2 on my HP Envy laptop (p/n: J4Z51EA#UUW) using the keyboard shortcuts Ctrl+Alt+Up or Ctrl+Alt+Down. By default, these shortcuts were used by Intel ...
0
votes
0answers
25 views

Autocomplete method definitions with parameters

In Sublime Text, typing out a method name will prompt the autocomplete box to show all matching words in a file, and the All Autocomplete package will extend that to all matching words in any open ...
0
votes
0answers
10 views

Sublime Text (3) Keymaps Across OS's?

Has anyone solved the problem of different Sublime Text keymappings across operating systems? I use Linux, Windows, and occasionally OS X. And, I have Sublime Text 3 installed on all platforms. ...
1
vote
0answers
15 views

PHP syntax in Sublime Text very slow

My Sublime Text 3's PHP syntax highlighting causes the editor to become extremely slow. And it's proportional to the amount of code in the current file. It's only with PHP. As soon as I switch to ...
0
votes
1answer
32 views

View document position window on right side in Atom editor like Sublime Text?

The title pretty much covers it. In Atom can you display the position where you are in the current document like you can in Sublime Text? An example of what I'm talking about can be seen on Sublime's ...
1
vote
3answers
550 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?
0
votes
1answer
24 views

How to configure Sublime Text 2?

So I want my Sublime Text 2 to look like this. To that end, I installed the corresponding theme and font (DejaVuSansMono). But no matter what I do, a/ the font doesn't change to what I want it to ...
6
votes
1answer
416 views

sublime text 2 - display jsdocs while typing

I installed the JsDocs package and use it to document my code. ATM I'm using SublimeCodeIntel with Alt+Click to jump to the documentation, but this is quite annoying, especially when you just want to ...
2
votes
1answer
25 views

Customize “wrap” characters in Sublime Text

In Sublime Text, highlighting any text and pressing any of the following symbols: ' " ( { [ will cause the entire highlighted section(s) to be surrounded by the key you pressed (or its matching ...
0
votes
1answer
15 views

Sublime Text - Find next - go back to beggining of file like Chrome does

In Google Chrome, when you search for a string and you keep pressing the "down arrow", if you are at the last string found, and you click again the down arrow, if goes back to the first string found ...
0
votes
1answer
40 views

In Sublime, what do the left/right arrow buttons do in the top left of the interface?

I know it sounds like a stupid question, but clicking them does nothing noticeable, and I can't find any info after googling it.
0
votes
1answer
64 views

Sublime Text 2 Keeps Growing due to Backup folder

My Sublime Text 2 Installation folder keeps growing as the backup folder getting bigger. I think it is due to package control plugin. Every time, it updates, it creates dated folder in Backup. Is ...
0
votes
1answer
21 views

Sublime Text Show Filanames when using Ctrl+Tab to Browse Opened files

Is there a way to show the list of files when I browse the open files using ctrl+tab keyboard shortcuts. It can be useful in selecting an appropriate file easily and visually. Not a deal-breaker but ...
2
votes
6answers
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 ...
0
votes
1answer
93 views

Custom font in Sublime Text 2 without installing it

In Sublime Text 2, is it possible to use other fonts than those which are installed on the system? If yes, how can I achieve this? I am working on a Windows 7 machine without admin privileges and am ...
0
votes
0answers
11 views

Contents of find-and-replace input shared between programs

When using the find functionality in Firefox and Sublime Text 2, the contents of the input field are shared between programs. Effectively, if I have been using find in one program, as soon as I hit ...
0
votes
2answers
39 views

Can I use a sequential key binding like Ctrl-x Ctrl-s in Sublime Text?

I'm trying out Sublime Text. I've been an Emacs (in Evil mode) user for several years. As a result I have Ctrl-x Ctrl-s for save deeply embedded in my muscle memory (so deeply embedded that I ...
0
votes
0answers
17 views

Sublime Text 3 Keeps Trying “Caching Information” in the status bar

I have a sublime text 3. and It keeps me showing "Caching Information" in the status bar, for the line I am editing. It seems it is trying to do something and have not been able to finish. Anybody has ...
0
votes
1answer
30 views

Sublime Text Package Control - Get More Information

Is it possible to get more information about the plugin/extension in the Package Control in Sublime Text? I use the shortcut ctrl + shift + p to bring package control and Install Packages. The ...
1
vote
1answer
47 views

Sublime Shortcuts at OS level

I love Sublime text as many other people do. I love its shortcuts. But whenever I'm editing text somewhere else, I keep on wanting to do Ctrl+L to select the whole line, Ctrl+Shift+Down Arrow to ...
4
votes
6answers
2k 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 ...
0
votes
0answers
17 views

Sublime Text 2 (mac) - Include hidden files in search

I've tried using the search all function (Cmd+Shift+F) in a project, but I'm unable to search in hidden folder. For example, I know "foo" is in a hidden file, but the search comes up empty.
0
votes
1answer
99 views

Force SublimeREPL to use specific version of Ruby

I installed SublimeREPL for use with Ruby. It attempts to run code on Ruby 1.8.7 and I would like it to run on 1.9.3, and later on other versions of Ruby. I'm not sure where it's inheriting the ...
0
votes
1answer
15 views

How to edit Sublime Text 2 Macros

How can I edit Sublime Text 2 Macros? What program to use to open the file (example - MyMacro.sublime-macro)? Also, how can I delay the keyboard typing in playing the macro? I hit record macro, then ...
-1
votes
1answer
25 views

Syntax highlight in SublimeText 2

How do I get Sublime Text 2 to highlight syntax of a language? I tried everything I could find but none of that bore any fruit. Thanks
2
votes
1answer
57 views

Sublime Text HTML Block Comment Containing Comments [closed]

Is there a plugin to help with HTML commenting a block of code that may already contain other comments? <div class="wrapper"> <div class="container"></div> <!-- /.container ...
1
vote
2answers
430 views

.class specific search and replace

I'm trying to remove entire tag with specific class: Code: <div> Blah blah <div class='myClass'> <div>some other div</div> </div> </div> <div> Blah ...
1
vote
1answer
151 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
2answers
105 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?
6
votes
1answer
747 views

sublime text 2 open file from find results keyboard shortcut

In the Sublime Text 2 "Find in Files" results, a box is drawn around wherever your search term appears. Double clicking within that box opens the file and focuses your cursor on that line. Is there ...