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

learn more… | top users | synonyms

1
vote
1answer
97 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 ...
1
vote
1answer
264 views

Sublime's vintage_start_in_command_mode not working

I have a very simple and confusing problem. I enabled Vintage in Sublime and I also added "vintage_start_in_command_mode": true. However, every time I open a file, it starts me in insert mode. Any ...
4
votes
3answers
2k views

Sublime Text Editor command not found

I have installed Sublime on my Mac Lion Laptop, and followed the guide here http://www.sublimetext.com/docs/2/osx_command_line.html but as always it did not work. I dont have a ~/bin directory on my ...
2
votes
2answers
1k views

Modify Sublime Text 2 whitespace representation?

Is there a way to modify the whitespace representation characters so I can change it from dots and dashes to something else? Because I currently have whitespace characters being drawn always, it ...
1
vote
0answers
221 views

sublime text: Undoing an “undo followed by typing”?

Wondering if (perhaps via the console in Sublime?) it is possible to recover from a multi-line undo, followed by typing something (a paste, in my case)? IOW, I un"did" a bunch of stuff, meant to just ...
3
votes
1answer
2k views

Increase the font size on Sublime Text 2 status bar?

Is it possible to increase the font size on the Sublime Text status bar? I did some searching and didn't find much at all on the subject. I sometimes miss important information displayed in the ...
11
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.
3
votes
1answer
517 views

Specific font_face based on syntax in Sublime Text 2

Is it possible to display a specific font_face for each individual syntax language setting in Sublime Text 2? For example: "php" : { "font_face" : "Droid Sans Mono" }, "c#" : { "font_face" : ...
1
vote
1answer
582 views

Disable removal of whitespace at the end of an empty line in Sublime Text 2

If I have this sample code: function foo() { var bar = 1; var foo = 1; // These two lines will be indented on save, // however the following line will have it's indention removed: ...
2
votes
0answers
312 views

Open up results from Find Results window in new tab/column

In Sublime Text 2 on Mac, I am using the two column layout. I was wondering if it is possible to open results from the Find Results tab (when I search through a directory/multiple files) into the ...
5
votes
2answers
1k views

Sublime Text 2 - insert breaks to match current wrapping?

Is there an automated way to insert line breaks at every point where the text is currently wrapping? After this operation, no lines should be wrapped, but it should look visually identical.
3
votes
2answers
968 views

How can I edit file permissions (e.g. make script files executable) from within Sublime Text 2?

When writing e.g. shell scripts, I want to change their permissions (primarily the executable permission) from within Sublime Text 2. How can I accomplish that?
1
vote
1answer
775 views

Porting Notepad++ syntax to Sublime Text 2

What's the best way to convert a Notepad++ style into a Sublime Text/Textmate syntax?
1
vote
0answers
412 views

Sublime Text 2 search and replace multiple words

I want to replace multiple words using regex in just one search accross all files. Something like this: Find: (dyspnea)|(jugular_swelling) Replace: (dispnea)|(turgencia_jugular) And this would ...
1
vote
1answer
1k views

Compiling/executing Java on Sublime Text 2 works fine except that it cannot read user input

I am a student learning Java and I want to compile and run some simple Java on ST2. Also Eclipse is very slow on my laptop. Here is my JavaC.sublime-build file so far: { "cmd": ...
2
votes
1answer
729 views

Color Scheme name for <?php tags in Sublime Text 2

I've been messing around with my color scheme and now I can't figure this out: How do I go about changing the color that <?php will show up in my .php files? I've done a lot of googling and some ...
2
votes
1answer
1k views

Use Notepad++ styles with Sublime Text 2

Is it possible to use notepad++ syntax themes/styles with sublime text 2? If so, how do I do this. I code COBOL programs, and love some of the features in sublime. But it lacks the syntax ...
1
vote
2answers
261 views

Invert case in Sublime Text 2

If I have Caps Lock on by accident and type "lIKE THIS", is there a keyboard shortcut to transform it into "Like this"? I'm familiar with Ctrl+KL to lowercase a selection, but I"m looking to toggle ...
0
votes
1answer
51 views

Can't switch to window group n° 1

I can create multiple windows by splitting the main window into multiple rows and columns. While ctr+0 moves the focus to the file explorer and ctr+2 moves to the second window, I can't get ctrl+1 to ...
5
votes
1answer
184 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 ...
1
vote
0answers
537 views

Dokan SSH mount and Sublime Text 2

I'm trying to work on a remote project using a mounted SSH using Dokan on Windows 7 and Sublime Text 2. The problem is the file browsing pane works unreliably: it may take ages to "open" a directory ...
32
votes
3answers
9k 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 ...
1
vote
0answers
905 views

Sublime Text 2 - What color_scheme and font is this? [closed]

I just installed Theme-Night in Sublime Text 2. I like it, but I really want to figure out what color_scheme and font is used in the readme from the docs.
2
votes
1answer
1k views

How do I compile libcache?

I have been trying to use the much talked about SublimeClang plugin for Sublime Text 2, which gives me an error that libcache.so could not be loaded, and in Linux, I am supposed to compile it ...
2
votes
2answers
2k views

Setting OS X Path variable for Sublime

I'm setting up Sublime to run with NodeJs on my Mac. I get the error below However, looking at my Path variable, /usr/bin/local is in the Path (I assume these are different?). Im interested to know ...
3
votes
4answers
1k 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 ...
2
votes
0answers
545 views

Get sublime text 2 (sublimecodeintel) to parse mason

So Sublime Text 2 seems to getting a lot of love lately. I am using the Sublime Code intel plugin, for auto completion. The problem is, it does not recognize .mi files as MASON files. I looked into ...
3
votes
1answer
639 views

Portable apps, Dropbox & default programs?

Currently I'm using Sublime Text 2 portable & I have put it inside dropbox to sync with my work PC. The problem is I can't set it as a default program to open HTML/CSS/PHP etc.. files, whenever I ...
4
votes
3answers
1k views

Sublime Text 2 Vintage: Leave insert mode on focus lost

I'm using Vintage mode (Vi bindings) on Sublime Text 2. When switching back to ST2, I regularly get bitten by still being in insert mode, resulting in me entering "jjjjjjjjjjjjkkkkkkkkk". Is there a ...
0
votes
3answers
984 views

What are other text editors using in place of Sublime's “go to anything” [closed]

Sublime's "go to anything" is a functionality that allows you to fastly go to any file or symbol inside a file by just typing a few keystrokes.
2
votes
2answers
275 views

How to extract terms from an HTML document

I have a HTML document filled with terms that I need to put into a spreadsheet. They follow this basic pattern: <ul> <li class="name"><a ...
0
votes
1answer
624 views

Why isn't Sublime Text 2 affected by system wide font rendering settings?

I've always thought my font looked too fat and blurry in Sublime Text 2, almost as if it's constantly bold, so I decided to open Gedit and Sublime Text side by side and compare. Indeed, all fonts look ...
2
votes
2answers
1k views

Editing files on an Ubuntu server from Sublime Text 2 running on Windows

What's the best way to use Sublime Text 2 running on Windows 7 to edit files that are located on an Ubuntu server? Emacs has TRAMP which allows the remote editing of files via ssh. Something like ...
8
votes
5answers
6k views

Sublime Text: Find-and-replace within selection

Does Sublime Text 2 allow the user to perform find-and-replace, limited to the current selection? I should think it must, only I've been unable after multiple searches to find how to carry it out.
1
vote
2answers
1k views

Is it possible to check blame in Sublime Text 2 like in TextMate

I love Textmate's blame very much. Is it possible to have something like that inside of Sublime Text 2? I mean: ability to see each step state (what was added, removed) ability to change step ...
0
votes
2answers
388 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
2
votes
0answers
80 views

Build fails if $file_name is non-latin

I'm using Windows version of Sublime Text 2 and MultiMarkdown as a build system. It works fine unless target file name has Cyrillic characters in it. Then it fails silently. To test this I'm using ...
5
votes
1answer
1k views

Sublime Text 2 / Windows: launch from command line?

How could one invoke Sublime Text from the command line, so that it starts in the current folder? (I'm using the MINGW32 that comes with Git on Windows)
2
votes
1answer
401 views

looking for an alternative to refile in orgmode for emacs

In emacs/orgmode there is something called refile. you select text, hit refile and you get a list of your outline headlines, select one and your text goes there. Can I achieve something like this in ...
10
votes
2answers
4k views

How to have Sublime Text 2 show git folders and files in the sidebar?

When adding a folder to a Sublime Text 2 project, it doesn't seem to show .git subfolders. It also seems these files cannot be opened by Ctrl-P. I disabled the Git plugin but that didn't help.
1
vote
1answer
402 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. ...
0
votes
0answers
136 views

How to open files in new window?

I know that there's an OSX-only setting for that: "open_files_in_new_window": true But how do I achieve that in Linux?
7
votes
1answer
2k views

Sublime Text, getting configuration under version control

After using vim for the better part of a year I've decided to give Sublime Text 2 a whirl. Using vim my .vimrc of course grew quite substantial since I constantly found small ways to modify it, I ...
25
votes
5answers
8k views

Can I right-click a folder in Windows 7 and choose “Open with Sublime Text”?

In Windows 7, I can do this at the command line: "c:\Program Files\Sublime Text 2\sublime_text.exe" samplefolder This launches a Sublime Text window, with the contents of samplefolder loaded in ...
21
votes
2answers
11k 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 ...
7
votes
1answer
9k views

How can I change the font in Sublime Text 2?

How would I go about changing the font in Sublime 2? This is what my settings look like: { "color_scheme": "Packages/User/Monokai Soda.tmTheme", "font_size": 12, "theme": "Soda ...
1
vote
2answers
1k views

sublime 2 rails multi line comments key command

when coding ruby in sublime text 2, are their key commands for multi line commentS? class Myclass include MyMethods def instance_method puts "hi from the instance method" ...
0
votes
3answers
501 views

Mouse click to select a word in Sublime Text 2

In Visual Studio, SQL Server Management Studio, etc I can hold Ctrl down and click to select a whole word. I find this makes copying and pasting multiple words much faster. I can hold Ctrl down, click ...
2
votes
1answer
211 views

Sublime Text 2 not using new icon in Cmd-Tab on OS X

I had previously exchanged the default icon for a custom icon. Upgrading to the latest update, which included a new, official icon, did not change the icon used when I change between programs ...
15
votes
1answer
9k 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?