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

learn more… | top users | synonyms

0
votes
1answer
68 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
145 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 ...
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 ...
1
vote
1answer
766 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++
5
votes
1answer
2k views

Convert variables between camel case and underscore style

I would like to convert variables from or to UpperCamelCase, lowerCamelCase, underscore_style, or even "separate by spaces". This would be useful for coding and making documentation. I use Sublime ...
0
votes
0answers
117 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
137 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 ...
0
votes
0answers
59 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 ...
0
votes
1answer
691 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 ...
1
vote
2answers
114 views

Regex to match only if beginning of line isn't something?

I have some lines that I'd like to match and some lines I'd to exclude from matching in a file. I'd like to not match remote access</a> (main card) and would like to match anything ...
0
votes
2answers
349 views

Find symbolic link created for Sublime text 2 to replace with Sublime Text 3

I don't remember where I have setup this Sublime text 2 command line symbolic link and now I just upgraded to Sublime Text 3 and I want to replace that symbolic link instead, but I can't find where I ...
2
votes
2answers
2k 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 ...
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 ...
3
votes
2answers
2k views

Better syntax highlighting for Java in Vim?

I've found Vim to have fantastic syntax highlighting with my preferred color schemes for Ruby and Python, but whenever I need to write Java code, it's like I haven't even turned on highlighting in the ...
1
vote
1answer
92 views

Change the keybinding to exit (alt+f4)

I'm currently using linux and pretty much every program with a GUI exits with ctrl+q. Is there a way to change the default alt+f4 to ctrl+q instead?
4
votes
1answer
436 views

How to get a “zoomed out” code view in Visual Studio?

Sublime Text and Komodo IDE both have a very neat feature where you have a preview of the entire file you are working on in a "zoomed out" view that you can scrub up and down to move around your code. ...
2
votes
0answers
2k views

Sublime Text - keyboard shortcut binding not functioning

Following the instructions here, I've set up a new installation of SublimeText for use with R. I have no other SublimeText plug-ins installed. The keyboard shortcuts that are setup using the ...
0
votes
1answer
122 views

How to export the font configuration of Xcode to Sublime?

I like the font configuration of my Xcode. So, how to export the font configuration of Xcode to Sublime?
0
votes
1answer
172 views

How to restrict subfolders of a folder that are showed in sidebar in Sublime Text 2/3?

I am able to select folders I would like to work on using different paths inside of the folders array in Projects settings. But what if I need only few folders from the folder templates? And I don't ...
0
votes
1answer
1k views

How to show .gitignore file in the sidebar in Sublime Text 2/3

I want to see my project .gitignore file. It's always hidden. Why it's hidden and how to fix this?
1
vote
1answer
264 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 ...
0
votes
1answer
42 views

gotofile plugin not working on mac

I installed go to file plugin for sublme text2. When I click alt-d it prints ∂ in editor and navigating to file not working. I tried to change key bindings for this plugin but in ...
7
votes
1answer
3k views

Set current language without saving file in Sublime Text

I have recently started using Sublime Text 2 after getting tired with Notepad++. Now, if I wanted to set what language I am currently programming in in Notepad++, I would go to the Language menu, and ...
0
votes
0answers
235 views

Symbolic link to host-shared folder from vmPlayer guest results in permissions errors

I have my Sublime packages located at C:/Storage/Dropbox/settings/sublime-text-2/ on my Windows 7 host. In my Ubuntu 13.04 guest, I have mounted the Storage folder at /mnt/hgfs/. Ergo, the location ...
1
vote
1answer
258 views

Detect key binding collisions in sublime text

In sublime text is there any way in to detect when a particular key binding is already assigned to some command and is then overwritten? I just want to be able to detect such scenarios.
0
votes
0answers
75 views

Using Sublime Text CLI (subl) “command” argument

I'd like to use Sublime Text in a script to save a text file with UTF-8 encoding, subl --help shows : --command : Run the given command I found a list of commands and tried typing subl ...
-1
votes
1answer
257 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 ...
1
vote
1answer
277 views

How to set JS-Syntax for .js.php-Extension in Sublime Text 2?

I have several js-Files (and css-Files), which need php-Commands. So I changed the extension to .js.php or .css.php But when I open the file in Sublime Text 2, I always have to change the syntax ...
1
vote
1answer
343 views

Same file in differents tabs

in sublime with ALT+SHIFT+2, I get two columns for files. in vim, with split, I can see the same file in differents parts of code. in Sublime,for comparate differents parts of code, How I can see ...
0
votes
0answers
629 views

'super' key not working as expecting in Sublime Text 2 or 3 on Windows 7

The Sublime key binding docs suggest that the super (Windows key) is usable in user defined key bindings. I'm aiming to create the following style of mapping so I have consistency between my OSX and ...
0
votes
1answer
99 views

How can I open a set of files in sublime based on their contents

I am trying to find all the files that contain a search term: grep -lir "Search" . and pipe that into sublime: grep -lir "Search" . | subl but all this does is open a single file in sublime ...
0
votes
0answers
28 views

Sublime Text 2 - Read a file located on a different server (http://host.com/my-text-file.txt)

As the title says, is it possible to open up a file as I can do in chrome (http://host.com/my-text-file.txt). Bonus points if you can make it auto refresh and scroll to the selected line.
0
votes
1answer
142 views

What command, if any, can be a good alternative to sublime text's find in folder?

Is there a way to find a string or phrase recursively in all files in a folder from the command line, such that the output would be similar to Sublime Text 2's find behavior? Like, with the path of ...
1
vote
1answer
538 views

Sublime Text manually specify g++ location

Long story short, I'm using sublime to write some small C++ programs in my spare time. I'm currently on a Windows 7 box and I do not have administrative rights to adjust the Path Environment Variable ...
2
votes
1answer
192 views

Is there a plugin for default file location in sublime text 2?

Is there a plugin (or a setting) in Sublime Text 2 to set the default file location for saving files? As of now, when I open Sublime Text 2 for the first time, create a file and try to save it, the ...
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 ...
2
votes
1answer
2k views

How do I use Sublime Text as the OS editor in Mac OS X?

How do I set Sublime Text as the editor for git commits in Mac OS X? In my .zshrc I have: export EDITOR='subl -w' But, if I do: bundle open devise I get the error: Could not run 'subl -w ...
11
votes
1answer
3k views

How do I assign a keyboard shortcut to recorded macro in Sublime Text

I have a bunch of macros which I have recorded and saved in Sublime Text 2. I'm trying to assign keyboard shortcuts to each of those, but I'm kind of lost as to how to go about doing this, I had a ...
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 ...
1
vote
1answer
168 views

Sublime Text 2 Key Bindings - Is there any way to detect left/right modifier keys?

Is it possible to make Left Alt+A and Right Alt+A do different things? And of course, other modifier keys. If not, maybe the following idea would work? If AppleScript, Python, Ruby, Perl etc. can ...
0
votes
1answer
47 views

Sublime hates “..\save\” - screws up code color and layout. How to fix?

I've been using Sublime + UnrealScript plugin to program in UnrealScript, with UDK. But I was programming a save game system up, and got to adding a custom folder (..\save) when Sublime did this: ...
3
votes
2answers
884 views

Sublime Text 2: Working with multiple documents, building master file

I am currently working with LaTeX. I have a big document split up in several sub documents. When I am workin in a sub document, I'd love to compile the master file when pressing ctrl+b, not the file I ...
8
votes
2answers
704 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.
2
votes
2answers
850 views

Redefine file extension associations in Sublime text 2

I have noticed that Sublime text 2 by default associates files with *.scm and *.ss extensions with lisp language. But it's scheme actually. Is it possible to redefine this association somehow (in ...
1
vote
1answer
310 views

Sublime Text 2 not auto-completing some methods

I'm using SublimeText2 on Ubuntu and I'm using the python gData API. My issue is that some of the variables and other stuff doesn't auto-complete. Everything above the for loop auto-completes but not ...
0
votes
1answer
2k views

How to build compass in sublime text 2

I downloaded this package which allows use to build compass in though sublime text by pressing cmd+b. I created a sass file, made sure compass is selected from the tools > build system > compass ...
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 ...
1
vote
1answer
1k views

Install Sublime Text 2 KDE (Kubuntu-desktop)

I would like to know how to install sublime text 2 in my Kubuntu VM. I used this guide when I was still using Unity, but I like the UI of KDE much more so I have converted. What do I need to do to get ...
3
votes
1answer
558 views

How do I get Dash Doc App to respect indentation?

When I expand an abbreviation with Dash Doc App it starts at the cursor location in my text editor (Sublime Text), but then ignores the original placement of the cursor and the next lines begin on the ...
2
votes
1answer
210 views

How to prevent ST2 from searching in excluded folders?

I've got a sublime-project like this: { "folders": [ { "path": ".", "folder_exclude_patterns": ["_doc", "cache", "logs", "_release"], "file_exclude_patterns": ...