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

learn more… | top users | synonyms

0
votes
1answer
145 views

How to substitute a text block in column mode in Sublime Text 2/3

Given a highlighted/copied block of columnar text that is on say 10 lines. The objective is to overlay that area on top of a different set of 10 rows. Well what happens is when you "paste" in Column ...
0
votes
0answers
31 views

  added in class name on Mac

At the beginning, I believed it was a simple problem of CSS and Sublime Text 2 and posted on stackoverflow. But it seems to be a biggest issue in relation with the OS. On every website with ...
0
votes
1answer
340 views

formatting or beautifying Javascript in SublimeText

Saw this thread Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)? for an html formatter in SublimeText. Does anyone know of something equivalent ...
1
vote
2answers
216 views

Sublime: Save set of tabs to open

I have several files that I edit frequently, and I need all of them open at the same time. I am wondering if there is a way in sublime to save a set of files to be open...sort of like how in chrome or ...
3
votes
2answers
970 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. ...
1
vote
0answers
32 views

OSX skip word shortcut no longer working

Using OSX Mavericks on a rMBP, I've been working in Sublime Text 2. All of a sudden, the skip word shortcut is no longer working. I've tried: resetting my computer running killall Dock resetting ...
0
votes
0answers
123 views

“Quick Add Next” keyboard shortcut from Sublime Text in IntelliJ

I'm missing the keyboard shortcut "Quick Add Next" (Ctrl + D) from Sublime Text in IntelliJ. It searches for the current selection and selects the next occurrence of it (using multi selection). So if ...
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
62 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 ...
1
vote
3answers
76 views

How to shorten list of syntax options in Sublime Text

Using Sublime Text 3, is there a way to shorten the list of syntax options that are presented when changing the syntax? There are about 50 language options, and I only use about 5, so I'd like to only ...
1
vote
1answer
275 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
118 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. ...
2
votes
1answer
85 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
298 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
0answers
33 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.)
1
vote
0answers
30 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
346 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
64 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.
0
votes
1answer
348 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
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 ...
0
votes
1answer
197 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
119 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
91 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
276 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
125 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
123 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
300 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
357 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 ...
3
votes
3answers
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
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 ...
0
votes
1answer
87 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
420 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
151 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
1answer
63 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
158 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
135 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
709 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
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 ...
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 ...
0
votes
1answer
658 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
106 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 ...