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

learn more… | top users | synonyms

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
361 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
0answers
55 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
0answers
64 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
17 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 ...
2
votes
1answer
86 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
278 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 ...
0
votes
0answers
120 views

How can I delete U+200B (Zero-width space) using sublime text 3

I copied a large amount of code from jsfiddle and it's causing problems for me because of the zero-width space characters. See http://stackoverflow.com/a/12719860/80353 My editor is sublime text 3. ...
0
votes
2answers
428 views

Trying to create a Symbolic link between Sublime Text 2 and Subl

As the title says, I'm trying to create a sym link for my Sublime_text launcher, I did: sudo ln -s /path/to/sublime_text /usr/bin/subl and when I ls /usr/bin the blue subl link is there. Then I ...
1
vote
1answer
450 views

SublimeLinter not working with java

I'm trying to get sublimelinter to work with java so that I can lint my java program, but I don't know what javac -Xlint or what the path is. So my question is, what is PATHs and -xlint? I've got ...
11
votes
2answers
2k views

In Sublime Text 2, how can I indent out to a straight column with multiple cursors on a ragged edge?

Suppose I've got multiple cursors along several lines, like this: foo| barr| foobar| baz| How can I automatically push the whitespace at the end of each line out to a flat edge, like this?: foo ...
2
votes
1answer
260 views

sublime text 2, i can not use double click to select a word

Characters that are considered to separate words: "word_separators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?" Triple-clicking I can select the line, but double-clicking, I cannot select the ...
0
votes
0answers
34 views

Is there a way to lower the margins/padding of the side bar items?

Is there a way to lower the margins/padding of the side bar items? Ie, I wish to lower the spacing between the items in the directory tree. Applying margins/padding to the sidebar items class as a ...
0
votes
0answers
23 views

View open tabs from a drop down button

Is there a way to view open files from drop down button? Or open files that are not currently visible in the tab bar? I do not want to scroll all the way up from in the directory tree to view open ...
2
votes
1answer
35 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.)
0
votes
0answers
75 views

How do I disable/prevent highlighting of updates in Skim?

I've just set up Skim to update content when I compile a LaTeX file to PDF in Sublime Text 2 using the LaTeXTools plugin. It works fine but is it possible to disable/prevent the highlighting of the ...
4
votes
3answers
2k views

Open file in local text editor from within an SSH connection

I'm not a vim guy. I'd like to be able to open log files in Sublime Text when in an SSH connection from within Terminal. Is there a way I could do this? I'm thinking there must be a command or ...
2
votes
0answers
311 views

Sublime Text Build System for Heroku

I made a build system for Heroku Foreman on Sublime Text 2 (windows 8) { "cmd": ["foreman.bat", "start"], "working_dir": "$project_path" } When I run this in shell, I can just break, and ...
5
votes
2answers
6k views

How to uninstall packages from Sublime Text 2

I'm using a portable version of sublime text 2 on windows. And I'm trying to uninstall some packages which are on this directory: D:\Downloads\sublime\Data\Packages The problem is that it always ...
0
votes
1answer
353 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
1answer
202 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 ...
-1
votes
1answer
250 views

How can I fix rendering problems with Sublime Text 2.02 on Google Hangouts?

I am attempting to pair with someone using Google Hangouts and Sublime Text. He is using OS X Snow Leopard, and SublimeText 2.02. On his screen, the fonts look normal; on mine, they are rendered as an ...
0
votes
0answers
121 views

copy relative path of file

I can copy full path of file: { "keys": ["super+i"], "command": "copy_file_path" } But don't know how to copy its relative path (relative to project folder) I even created .sublime-project { ...
0
votes
0answers
92 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
278 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
2answers
127 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
307 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 ...
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 ...
1
vote
1answer
363 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 ...
0
votes
0answers
159 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 ...
3
votes
2answers
976 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?
0
votes
1answer
663 views

Sublime text 2 build system

I want to build a file using Sublime Text 2, and then do a simple copy. I managed to do the first thing using a build system, and I think it has to be possible to do the copy with the build system ...
0
votes
1answer
88 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
1answer
424 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
2answers
152 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
173 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
189 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 ...
0
votes
0answers
161 views

info: updating indexes…Sublime text 2 message stays there all the time?

OS: UBUNTU 12.04 info: updating indexes..The first time this can take a while. Do not despair! message is always displaying int he bottom bar of sublime text 2. How to fix this?
0
votes
1answer
66 views

sublime text 2 command create link but the command is empty

I want to create the link about sublime text2 which is placed in applications. If I paste the /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl in bash, the sublime text 2 will open. ...
1
vote
1answer
138 views

How can i open the same project in several windows?

I have a big project with several subproject and i would need a window for each sub project. I do : bash> sublime_text --project $path_to_project & bash> sublime_text --project ...
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 ...
1
vote
1answer
718 views

Selective word highlight in SublimeText

Is there any way that i can select some words to be highlighted and their instances as well. This feature i especially used when viewing log files in Notepad++
3
votes
1answer
1k views

sublime text right click not working for sidebar

I am using sublime text 2 on windows 7. I had installed 3 plugins: Emmet Dockblockr SidebarEnhancements Now when i right click on the folders on the sidebar nothing is happening. I tried ...
0
votes
0answers
116 views

Sublime Text 2: cannot type “>” character via keyboard

I don't know why or what I've done so that the greater-than character ">" cannot be typed in Sublime 2 (Windows 7 professional). I can type ">" in all other software. Any one care to shed a light?
0
votes
1answer
134 views

Launch sublime text without waiting in the terminal

I have installed Sublime Text 2. I downloaded it from the homepage, put it in /opt/, created a symbolic link in /usr/bin/ called subl. When called it correctly opens Sublime Text 2, but it also causes ...
6
votes
3answers
9k views

Sublime Text 2 IntelliSense - How to?

I would like to plug IntelliSense-like functionality into Sublime Text 2. Is there a package that does this?
0
votes
0answers
58 views

How can I make Sublime Text 2 recognize the pipe as a bracket

The reason I want this is so I can use the move_to brackets command in a block argument list. Take: hash.each_pair do |key, value| puts "K:#{key} V:#{value}" end I want to be able to have ST2 ...
1
vote
2answers
262 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 ...
3
votes
2answers
2k views

In Sublime Text 2, how do I make a key mapping to move the cursor up or down multiple lines?

I'm trying the following key mapping, but it only moves the cursor up one line at a time. I'd like it to move 10 lines at a time. It seems the "amount" paramater is ignored. { "keys": ["alt+down"], ...
0
votes
1answer
48 views

Sublime intellisense selects padding-bottom by default and not padding

Much as I love Sublime, something that annoys me is that I cannot figure out how to make it select "padding" or "margin" rather than "padding-bottom" or "margin-bottom" by default. Is there a way to ...