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

learn more… | top users | synonyms

2
votes
3answers
615 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 } }, { ...
4
votes
2answers
2k views

Disable build window when building in Sublime Text 2

How can I prevent the build window from showing in Sublime Text 2 whenever I make a build with Ctrl+B?
0
votes
1answer
35 views

Sublime Text Editor 3 doesn't show traceback when running Python code

Yesterday I installed ST3 and installed some plugins, but I noticed that if Python has a syntax error then it shows an error. But when a statement has a non-syntax error, then it shows nothing. Like ...
0
votes
1answer
3k 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
2k 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
1answer
7k 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
10 views

sublime text 3 vim cursor in command mode same as sublime text 2

In sublime text 2 in preferences, even though it is not mentioned, you can set caret_style to wide and when in command mode it will only underline the character that you are currently on. In sublime ...
0
votes
1answer
26 views

Select all mispelled words in Sublime Text at once

Is there a way to, when activating the spellchecking with F6 then noticing that bunch of red-underlined typos, to select all misspelled words? Obviously we can't do it with a simple Ctrl+D. The idea ...
0
votes
2answers
41 views

Safe redo (Ctrl-Y)

In ST (Sublime Text for short) the redo action works very strange and inconvenient way, from my point of view. First test. Type some text, for example Foo and then press Ctrl-Y one or several ...
1
vote
2answers
570 views

Delete lines from cursor to end of file

with sublime text, I can delete from cursor to end of line with super+k-k how I can delete from cursor to the end of file ?
-1
votes
2answers
30 views

What is this texteditor's counterpart in Windows?

I am learning CSS and want to know what the following texteditor is: Is there a counterpart for Windows? There seems to be a Sublime plugin, when you type: div.classname then perhaps press ...
0
votes
1answer
30 views

How to find wild card value and append to it

I have part of the hundreds of lines similar to : [vc_single_image image="55"] How can I change the lines so they all get appended img_size="full", resulting in [vc_single_image image="55" ...
7
votes
3answers
11k 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 ...
0
votes
3answers
698 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 ...
3
votes
1answer
59 views

Force Sublime Text to open on current virtual desktop in Windows 10

I often have several virtual desktops open in Windows 10 with various programs in each one. I often want to open in my current virtual desktop a new instance of a program that already has a window ...
2
votes
1answer
52 views

How To find a word and replace with changing pattern

I have a text like the following: case "UID": if (!Convert.IsDBNull(objDataReader["XYZ"])) { objQualitativeAssessmentBiz.XYZ = objDataReader["XYZ"].ToString(); } break; case "GeneratedChaseId": ...
0
votes
1answer
21 views

How to remove rectangular box around text from subline text editor

I want to remove the shitty boxes around text show in: I can't remember which package I had installed for this. Can anybody tell me how ?
11
votes
1answer
2k 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": ...
15
votes
3answers
31k 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
64 views

How to correct IdeaJ IDE on Win7 font setting bugs? Or just the fonts bug itself?

I try to use fixedsys for IDEA IDE which downloaded from http://www.fixedsysexcelsior.com/ Set the font size to 16 and then the A and B character just overlapped each other. other size will be fine ...
1
vote
1answer
96 views

Brackets Text Editor - “Go to anything” feature like Sublime Text

I love Sublime Text and I'm playing with Brackets editor for a change. One of the features I like most in ST is the "Go to anything" (CTRL+P). Is there something like that in Brackets?
10
votes
1answer
4k views

How to make Sublime Text 2 spell check comments only?

The built-in spell check feature seems to be running over the whole code, underlining lots of text that is supposed to be that way i.e. the code itself. Any way to limit it to just comments (//)?
1
vote
1answer
2k views

error: XDG_RUNTIME_DIR not set in the environment. Gtk-WARNING **: cannot open display:

I used to open text files with sublime, and for Read-only files, I used to do : sudo sublime. But now just suddenly the sudo sublime command gives the following error : (sublime:3931): Gtk-WARNING ...
0
votes
1answer
84 views

Copy file as raw binary text

I do need to copy the jce_policy-8.zip from my Mac to a Citrix Desktop on Demand. The customer blocked every fileshare and Download. So I have tried to copy the .zip as raw text. Source I open the ...
2
votes
2answers
173 views

How to remove extra invisible character in a text editor

I have two "identical" 5-character strings in my text editors (Sublime Text2 | Notepad++). The first string was copied from Gmail and the second one just typed by hand. When I select the first ...
0
votes
0answers
19 views

Sublime text 3 - show number of bytes selected

Sublime text 3 shows number of characters selected and number of lines.. I want to add a functionality for it to also show the number of bytes (or kb) on selected text.. The number is pretty ...
0
votes
2answers
415 views

Firefox developer tools Color Scheme for Sublime text 2

How to find a Color Scheme (file "*.tmTheme") with Firefox developer tools for Sublime Text 2?
2
votes
2answers
1k views

sublime text 3 on mac os not keeping project open

I'm using sublime text 3 on mac. Whenever I've had a project or folder open and closed the window (not quit the app) it would remember where i last left off, and open my last window. I noticed now ...
0
votes
0answers
10 views

Running SPARQL queries via Atom

Using Sublime SPARQL Runner is possible to directly run SPARQL queries. I'm looking to fin a similar solution for Atom. I see that there is some interest in this as the language-sparql provides some ...
2
votes
1answer
48 views

How to make Sublime Text stop asking me to reload every file

I had several thousand files open in a Sublime Text project and those files were modified outside of Sublime so it started prompting me whether or not I wanted to reload the file or cancel. But if I ...
2
votes
3answers
612 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 ...
4
votes
2answers
2k 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
0answers
91 views

Combing r-exec and terminal-panel functionalities in Atom

I would like to combine the functionality of r-exec in Atom with the Terminal-Panel package. In particular, I'm interested in achieving similar flexibility as illustrated in this SO answer with ...
0
votes
1answer
20 views

Changing sublime key bindings to move to the beginning and end of line

I'm currently looking at this useful answer published on SO about modifying Sublime Text key bindings. I would like to check whether it's possible to assign those arrow keys: to move to the ...
12
votes
4answers
8k views

Edit both opening and closing html tag

Is there a way (core or plugin) that a closing html tag name changes accordingly when renaming the opening one ? A behaviour similar to multi-selection...
0
votes
1answer
28 views

Sublime Text 3 - Replace character in particular lines

I have a file with content like this (its a movie subtitle file) 00:21:39.168 --> 00:21:45.585 There will be 23 days, giving 00:21:48.960 --> 00:21:54.126 We'll talk, Oscar. Come back soon. ...
2
votes
1answer
175 views

How to remap motions with a count in Sublime Text 2 vintage mode?

In my .vimrc, I have space remapped to move down 10 lines, and backspace remapped to move up 10 lines respectively: nnoremap <space> 10jzz nnoremap <backspace> 10kzz I want to configure ...
5
votes
3answers
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
59 views

How do I revert to the default cursor in sublime text?

Since some point today, my Sublime Text is doing this: That light grey block is my cursor, focussed on a tab character. It's become a block cursor instead of a vertical line. How do I revert to the ...
2
votes
2answers
82 views

Sublime text Find Replace any Character

Is there a way to find and replace using a special character that would allow any char to be in it's place? What I mean by this is say I have the following text: ...
2
votes
1answer
77 views

Is it possibile to attach snippet only to specific project in Sublime?

I tried to save the snippet files in the project folder but it is doesn't work. Do you have any other idea?
0
votes
1answer
45 views

How to replace with empty line in Caret?

I add unsuccessfully "\n" in the search. No regex seems to work. Caret is a clone of Sublime editor in Chromebook. How can replace with empty line in Caret's search of Chromebook?
0
votes
1answer
46 views

Trouble creating Custom Completions for Sublime Text 3

UPDATED I'm working on Salesforce development using the MavensMate plugin for Sublime Text 3. I'm wanting to create a custom completions file that will contain some common HTML tag class names that I ...
0
votes
0answers
38 views

Sublime paste in snippet

I have got a sublime snippet to get console.log in js who look like that : <snippet> <content><![CDATA[console.log('$1', $1);]]></content> ...
2
votes
1answer
462 views

How to change syntax for a specific folder in Sublime Text 3

I write JS projects in ES5 and ES6. I installed Babel-Sublime for highlighting Babel supported code. Now, I open a .js file written in ES6, goto "View -> syntax -> Open all with current extension as : ...
5
votes
3answers
5k views

Using an external text editor to edit VBA code

I have inherited a lot of VBA code to maintain and so far I am using the VBE. Sometimes is quite hard to do some tasks, like advanced text search, so usually I export the module, edit the content with ...
4
votes
1answer
557 views

In Sublime, what do the left/right arrow buttons do in the top left of the interface?

I know it sounds like a stupid question, but clicking them does nothing noticeable, and I can't find any info after googling it.
0
votes
2answers
83 views

Sublime Text 2/3 change snippets folder

Is there a way to change the folder of user snippets? By default it's something like: C:\Users\AwesomeUser\AppData\Roaming\Sublime Text 3\Packages\User And I would like to have my snippets in, for ...
5
votes
2answers
1k 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. ...
0
votes
0answers
10 views

Editing key bindings file to run a command from the package

I'm using the SPARQL runner for Sublime on OSX and I would like to tie execution of the run query command to a keyboard short cut. Presently my user key bindings file looks like that: [ { ...