Sublime Text is a cross-platform GUI text editor for Windows, OS X, and Linux. Use this tag for version-agnostic questions.
Questions tagged [sublime-text]
208 questions
73
votes
4 answers
How can I make Sublime Text reload the file being edited?
How can I make Sublime Text (3) re-load the file currently being edited, to take into account changes having been made externally?
aknuds1
- 9,368
- 6
- 28
- 27
56
votes
1 answer
How to disable overlapping tabs or scrolling tabs in Sublime Text 3
Sublime Text 3 has a default feature which makes tabs overlap each other instead of the old behavior where the horizontal length of the tab would shrink. How do you disable this?
frediy
- 1,473
- 1
- 11
- 12
36
votes
3 answers
In Sublime Text 2, how can I indent out to a straight column with multiple cursors on a ragged edge?
Suppose I've got multiple cursors along several lines, like this:
foo|
barr|
foobar|
baz|
How can I automatically push the whitespace at the end of each line out to a flat edge, like this?:
foo |
barr |
foobar |
baz |
(In these examples, |…
GladstoneKeep
- 463
- 1
- 4
- 7
34
votes
6 answers
How to open file using only keyboard in Sublime Text?
How do I open a file using only keyboard in Sublime Text 2/3?
Looking for equivalent of :e /path/to/file from Vim.
ivanzoid
- 507
- 1
- 4
- 11
33
votes
5 answers
How to uninstall/remove Package Control from Sublime Text 3?
Searching for uninstall package control on Google, only results showing how to install packages with Package Control, or remove them, but not removing Package Control itself.
How can I remove Package Control from Sublime-Text-3?
Tamás Barta
- 553
- 1
- 4
- 14
28
votes
2 answers
Sublime Text, move tabs with keyboard
In Sublime Text 3, is there a way to reorganize tabs using keyboard only?
I know you can switch a tab from a pane to another pane using for example ctrl+shift+2 to move a tab from pane X to pane 2 but it's not exactly what I am looking for.
I am…
Gab
- 1,077
- 1
- 9
- 9
28
votes
1 answer
Multiple cursor selection on a pattern in Visual Studio Code
I am looking for a similar way that I work in Sublime Text:
Find All for a specific regular expression. Then it has multiple-selected the texts I need.
A simple find and replace does not fulfil my needs. I need to move the cursors to some segment in…
chingNotCHing
- 1,196
- 8
- 13
22
votes
1 answer
Change middle mouse button in Sublime Text
On Sublime Text running on Windows the Middle Mouse button acts as select range, on Linux its Shift+Right click. How can I set the middle mouse button to be select range on Linux? Specifically Sublime Text 3 on Ubuntu?
ecnepsnai
- 686
- 2
- 8
- 26
18
votes
1 answer
Search all within opened tabs with Sublime Text 2
Having Sublime Text 2 Text Editor:
Is it possible to search within all the tabs that are open? How?
Santi Agüero
- 281
- 1
- 2
- 6
15
votes
2 answers
How do I see what the current "scope" is in SublimeText?
I'm trying to define some snippets for editing Markdown, but I can't get them to trigger. I have tried using source.markdown, text.markdown and markdown as the scope, but none of them work. If I remove the scope constraint, the snippet works.
How do…
Hubro
- 5,716
- 14
- 61
- 87
15
votes
2 answers
Sublime Text 3 - Quick Add/Find Match behavior
Suppose I'm working with a file In Sublime Text 3 that contains multiple occurrences of a single character variable, c, which I want to rename to another name.
When I select one instance of that variable with my cursor, Sublime Text automatically…
Johannes
- 265
- 1
- 3
- 9
13
votes
1 answer
How to find next occurrence and go back to the beginning of file in Sublime Text
In Google Chrome, when I search for a string and press the "down arrow", if I am at the last string found and click the down arrow again, if goes back to the first string found in the text.
The current behavior is that, once I am at the last string…
cafesanu
- 258
- 2
- 6
10
votes
3 answers
Sublime Text 3: How to jump to the parent/enclosing function?
Is there a quick keyboard shortcut or Command Palette function to quickly jump to the parent/enclosing function?
So if the cursor is in a function, then I want to quickly jump to the first line of that function.
I looked around but was unable to…
Gary
- 1,280
- 2
- 23
- 37
9
votes
3 answers
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 firefox I can have a set of web page tabs that I…
Kyle
- 193
- 1
- 4
9
votes
1 answer
Sublime Text: escape multiple selections to last selection region instead of first
In Sublime Text (using Sublime Text 3), you can get out of a multiple selection / multiple caret mode by pressing the Esc key. When you do this, only the first selection / caret will remain.
Is there a way to make it so that only the last selection…
ericcodes
- 93
- 4