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

learn more… | top users | synonyms

0
votes
1answer
4 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
0answers
17 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?
2
votes
1answer
1k views

SublimeText2: Packages does not show up on Package Control: Install

When I was installing some packages, I found that my Package Control: Install Packages although comes up after pressing enter nothing happens. Does anyone else had this issue? I do not know after ...
3
votes
2answers
875 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. ...
0
votes
1answer
5 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. ...
1
vote
1answer
26 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
118 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
0answers
12 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
2answers
2k views

How to correctly configure Sublime Text's “Expand Selection to Tag” command?

I've been using Sublime Text for quite some time (both on OS X and Windows) and it's been working great. One of the features I like and use the most is "Expand Selection to Tag". On the Windows and OS ...
0
votes
0answers
12 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
11 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 ...
2
votes
0answers
95 views

How to remap motions with a count in Sublime Text 2 vintage mode?

In my .vimrc, I have space remapped to move down 10 lines, and backspace remapped to move up 10 lines respectively: nnoremap <space> 10jzz nnoremap <backspace> 10kzz I want to configure ...
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 ...
3
votes
2answers
2k 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
2answers
384 views

Sublime Text 2 focus sidebar on opening

Is it possible to auto focus the side-bar upon opening? I am not able to form a proper command in my keymap file... I need to combine toggle_side_bar with focus_side_bar
9
votes
3answers
12k 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
26 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
26 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
27 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 ...
1
vote
3answers
1k views

Multiple cursors in Sublime Text under Ubuntu

I just switched from Windows to Ubuntu 13.04 and I'm missing a function in Sublime Text, On Windows I used the middle mouse button to set multiple cursors (a bit like holding Ctrl and adding cursors ...
0
votes
0answers
13 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 ...
1
vote
2answers
1k views

Unicode Composition in Sublime Text

I'm not able to use unicode composition (The ctrl+shift+u method) to enter unicode characters in Sublime Text 2 (v2.0.1, Build 2217) on Ubuntu 12.04 (Unity). To reproduce, just open up a tab and do ...
0
votes
0answers
13 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
38 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?
1
vote
0answers
28 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 ...
8
votes
2answers
532 views

How do I record and run multiple find/replace with Sublime Text 2?

How do I record and run multiple find/replace with Sublime Text 2? I tried recording a macro but, as it seems, Sublime won't record find/replace, only text input etc.
0
votes
0answers
16 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 ...
0
votes
1answer
12 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
69 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
17 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
34 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
20 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
268 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
52 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
399 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 ...
15
votes
3answers
30k 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
49 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
50 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 ...
10
votes
4answers
5k 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
148 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
61 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
121 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
323 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?
5
votes
2answers
2k 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
179 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
63 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
27 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
28 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 ...