Tagged Questions

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

learn more… | top users | synonyms

2
votes
1answer
39 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.)
1
vote
0answers
32 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 ...
1
vote
2answers
679 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
2answers
73 views

Getting Sublime Text 2 to treat jsm the same as js

I'd like to have sublime text 2 treat .jsm files the same as it does .js files.
1
vote
1answer
531 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
300 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 ...
0
votes
0answers
121 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
358 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
1answer
202 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
2answers
219 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
482 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 ...
1
vote
1answer
612 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 ...
4
votes
3answers
3k 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
0answers
216 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 ...
0
votes
1answer
105 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
2answers
577 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
190 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
203 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
240 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
1answer
120 views

How to set ST2 to prompt me every time whether I want to accept changes in the code made by some other program (git, for example)?

ST2 doesn't ask me if I want it to take new changes in my code. It just quietly reloads my source code. It happens for example when I do git stash or git stash pop. It just changes the code by force ...
0
votes
0answers
203 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
78 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
196 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 ...
2
votes
3answers
2k 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
1k 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++
10
votes
1answer
3k 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
138 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
158 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
69 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
871 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
126 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
458 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
3k 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
51 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 ...
4
votes
2answers
4k 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
118 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
548 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
138 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
253 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
331 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
43 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 ...
9
votes
1answer
4k 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
290 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
327 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
102 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
280 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
327 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 ...
2
votes
1answer
564 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 ...