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

learn more… | top users | synonyms

1
vote
1answer
108 views

How to use “Search and replace” in selected text in Sublime Text 3

I want to select text and then use "search and replace" to replace strings in this selection. I think the following workflow should be it: Select Text Ctrl+H to activate "search and replace" type ...
0
votes
2answers
67 views

PHPStorm -> Sublime Text mac shortcut

I have googleing around for this, but have not found the answer. I have just gone from sublime text to PHPStorm. Is there any similar shortcuts for selecting variable(CMD+D), multiple cursor etc?
5
votes
1answer
615 views

sublime text 2 open file from find results keyboard shortcut

In the Sublime Text 2 "Find in Files" results, a box is drawn around wherever your search term appears. Double clicking within that box opens the file and focuses your cursor on that line. Is there ...
1
vote
1answer
26 views

How to find out which command corrosponds to which command pallet list items in sublime text?

The git plugin for sublime text has many options populated in the command pallet but I want to assign keyboard shortcuts to some of them. How do I find out which commands to use for those commands? ...
0
votes
2answers
27 views

Use Sublime text to wrap domain names in quotes

I have a large-ish csv text file of which one column contains a domain name, e.g. example.com. However, to be able to import my file correctly I need to have all occurrences of domain names to be ...
0
votes
2answers
30 views

How to divide several pages of text (80.000 words) that i have to divide into 160 characters per page in a text editor?

A have several pages of text (80.000 words) that i have to transform and divide into 160 characters max per page. Any of you can help me do this in BBedit or Sublime Text (Mac)? Tks, Bruno
37
votes
4answers
13k 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 ...
15
votes
1answer
5k 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
2answers
52 views

Is there a way in Sublime Text to display find results in a panel at the bottom of the current window?

This is a highly useful feature in other editors eg. Eclipse and Notepad++ You get to see the list of find results printed as all the containing lines with their lines in the buffer, which gives you ...
0
votes
1answer
2k views

Convert text file to ASCII, not ANSI in Sublime Text

We have a project where we need to convert weird characters generated from all kinds of file formats into ASCII due to compatibility issues. Is it possible in Sublime Text 2 to convert the encoding ...
0
votes
0answers
6 views

How to edit Sublime Text 2 Macros

How can I edit Sublime Text 2 Macros? What program to use to open the file (example - MyMacro.sublime-macro)? Also, how can I delay the keyboard typing in playing the macro? I hit record macro, then ...
0
votes
1answer
2k views

How do I add Sublime Text the Windows 8 “Default Programs” list?

I've tried using the following registry file to add Sublime Text 2 to the Default Programs list in Windows 8 Enterprise x64. It doesn't show up. All the paths are correct. This method has worked for ...
1
vote
2answers
209 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 ...
0
votes
0answers
7 views

Is there a way for a file in sublimetext 2 to have a label other than the name of the file?

I'm working with a bunch of files that are all called "index.php". I want to keep the filename but change the name of the file on sublime text so it is easy to switch between files. Is there a way to ...
3
votes
2answers
2k views

How to jump previous or next position in Sublime Text 2?

I want to jump to the previous (or next) position in Sublime Text 2. C-i, C-o in vim. Ctrl-, Ctrl= in Visual Studio. How can I do it in Sublime?
0
votes
2answers
331 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
16 views

KEdit/XEDIT show/all equivalent for Sublime?

I've been using Sublime for a while. Lovely editor but there is one feature I am missing. Is there a way to achieve a similar result what I was getting from a KEdit http://www.kedit.com/ (windows) ...
2
votes
3answers
2k views

Unicode Composition in Sublime Text

I'm not able to use unicode composition (The ctrl+shift+u method) to enter unicode characters in Sublime Text 2 (v2.0.1, Build 2217) on Ubuntu 12.04 (Unity). To reproduce, just open up a tab and do ...
0
votes
0answers
75 views

Ugly fonts in IntelliJ IDEA Community Edition 14.0 Windows 8.1

I use macType Which renders fonts beautifully elsewhere. I tried to configure through options -Dawt.useSystemAAFontSettings = On -Dswing.aatext = True but nothing helped. In general InteliJ not ...
0
votes
2answers
598 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 ...
0
votes
1answer
14 views

How do you move the cursor(s) to the next occurence of a character in Sublime Text?

Let's say we have a file containing this: name, job, age Mark, Specialist, 24 Bob Guy, Manager, 43 Susan Third, Data Generation, 30 What I want to do is navigate around the fields. Move to the next ...
0
votes
0answers
12 views

Sublime Text2 xDebug

I been googled around sublime2 install with xdebugclient. but has no luck to search, i wanted to install xdebug inside my sublime and been tracking the variable like this image. i did what martomo ...
1
vote
0answers
16 views

Sublime Text 2/3: Arrow key navigation

In Textpad, when you press the down arrow key in a line, insert some text, and then press down again, you will stay in the same position that you were at before you inserted text. Sublime Text ...
0
votes
1answer
46 views

Changing Default Text Editor in Linux Mint 17 to Sublime Text 2

I'm having trouble using the terminal to change my text editor to Sublime Text 2. I followed the instructions in this thread to no avail :/ Any assistance would be extremely appreciated
3
votes
1answer
2k views

Netbeans color scheme settings

Trying to create Sublime Text environment in Netbeans editor. The screen below is before moving cursor into any "path" And after As you see, bg color of multiple instances changed. The ...
0
votes
0answers
116 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 ...
0
votes
0answers
112 views

All Settings lost on restart of Sublime Text 2

Some strange thing is happening from last two days with my SublimeText 2. On restarting of my computer the settings are lost. Below are my configuration details: SublimeText 2: Portable Version ...
1
vote
2answers
832 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 ...
1
vote
1answer
65 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
2answers
28 views

Change cursor color in sublime text?

Im trying to change the cursor color in sublime text. Im running windows in a VM on my mac. In Preferences.sublime-settings ive added the following but it hasn't done anything: // Change caret ...
2
votes
3answers
1k 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 ...
0
votes
1answer
201 views

In Sublime Text, how can I specify the fold level, with keyboard shortcuts, without having to unfold all first?

I'm trying to work out how to get code folding working how I want in Sublime Text 2. I can ⌘+K, ⌘+J to unfold all. Then I can do ⌘+K, ⌘+1 to fold all. At this point, I want to be able to go straight ...
1
vote
0answers
23 views

How to column select in Sublime Text 2 on a HP Envy laptop

I want to be able to column select in Sublime Text 2 on my HP Envy laptop (p/n: J4Z51EA#UUW) using the keyboard shortcuts Ctrl+Alt+Up or Ctrl+Alt+Down. By default, these shortcuts were used by Intel ...
0
votes
0answers
23 views

Simple Sublime/Emmet shortcut

I've seen several videos on how people use Sublime/Emmet to create quicker tags and I would like to learn the proper way to do this. I know how to do this for example: div.class and it will create ...
5
votes
1answer
10k views

Sublime Text 2: Disable cursor position overwriting characters (like vim replace mode)

I'm not sure how, but I managed to get Sublime Text into a 'Replace Mode' which at whatever position the cursor is at, it overwrites the next character with whatever you press instead of inserting it. ...
0
votes
1answer
44 views

Can Sublime Text alter CSS file properties and values to each line

I was wondering if you could in Sublime Text alter a .css file from: selector { property: value; property: value; } to: selector { property: value: property: value; ) ...
0
votes
0answers
28 views

Is it possible to filter what program defaultly opens a file depending on if that file has a particular tag?

Just more of a convenience thing. For instance if I saved a webpage which I was editing and assigned it the tag Sites. Is there anyway that I can filter what program default opens this kind of file, ...
0
votes
1answer
128 views

How do I change the file encoding in Sublime Text 2?

Using all those techniques like: { "Default_encoding": "UTF-8", "font_size": 9, "ignored_packages": [ "Vintage" ] } and even when I save with UTF-8 encoding, always ...
2
votes
0answers
39 views

Sublime Text HTML Block Comment Containing Comments

Is there a plugin to help with HTML commenting a block of code that may already contain other comments? <div class="wrapper"> <div class="container"></div> <!-- /.container ...
0
votes
0answers
31 views

(osX) Applescript to run compile shortcut in TexShop not working while in Sublime Editor

I'm trying to write an script so that when I'm in Sublime I can use a keyboard shortcut to get it to: save in sublime compile in TeXShop (I'm using it with the external editor setting) then switch ...
-2
votes
1answer
21 views

Could you modify a file from a game in this manner?

What I am about to ask is probably going to sound like science fiction, but if I grab a usb, hook it up to my xbox and copy (for example) madden 15 to it. Then I plug it into my computer and open it ...
0
votes
1answer
144 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
0answers
19 views

Is there a way to assign keys in the command pallet list to jump to desired item instead of the default item in sublime text?

In the command pallet, when I type "gl", the default option is "Git: log", but I would rather have it "Git: Graph All". For example, I type in "gl" and instead of the default option "Git: Log All", ...
4
votes
2answers
318 views

Sublime Text: Keyboard shortcut for close all other tabs?

If you right-click a tab name you have three options for closing: Close Close others Close tabs to the right If you go through the default shortcuts you'd see only the first is possible using the ...
0
votes
1answer
32 views

Text editors with grid cursor alignment function?

I don't know how it is called properly, if it has some exact term. I use text editor called ConText which has different way to positioning cursor in a document, so it is like grid-oriented. It means ...
0
votes
0answers
26 views

Windows : Clearing contents of a locked file using notepad++ and getting new contents

Trying to clear the contents of a locked file using notepad++. Contents got cleared and the new contents not get updated instantly. I can view those contents only after restart. I once got this ...
0
votes
1answer
49 views

Uninstall Sublime Text 2

I'm upgrading from Sublime Text 2 to Sublime Text 3 on my Windows 7 PC. Add/Remove Programs does not have any entries for Sublime Text. How do I remove Sublime Text 2 completely, including removing ...
8
votes
3answers
2k 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. ...
2
votes
1answer
835 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: ...
0
votes
1answer
39 views

Choose first comma after specific pattern on each line

I have almost thousand lines each with the same structure and I have to edit one part of it. "650","4","The lenght of this part varies, Here's some commas, here, and, there" "203","4","Now this is ...