Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.

+2

Vintage: implement ZZ and :x (do like Ctrl+S, Ctrl+W)

Kai Grossjohann 13 лет назад обновлен 13 лет назад 0
Hi, Sublime Text is way cool and Sublime Text + Vintage is way more cooler :-)

It would be great if ZZ in command mode would save the current file and close the tab.
Likewise, for :x.
+2

Custom `word_separators` setting is not counted in moving inside a “word”

kizu 13 лет назад обновлен Denis Sokolov 12 лет назад 1

Right now you can change the `word_separators`, for example exclude the hyphen symbol (`-`) from it, and if you do this, moving inside a “words” while holding `ctrl` would skip the hyphen.


The expected behavior is to count it (like in TextMate), so in a word “someWord-with_something” the ctrl-stops would be “some|Word|-with|_something”, but right now it's “some|Word-with|_something”.

+2

Split one document view horizontally, with just one scrollbar in the middle

Matthias J. Déjà 11 лет назад обновлен 11 лет назад 1

Motivation

As a software developer, I am mostly viewing source code files in Sublime Text, which have comparatively short lines, as opposed to continuous texts with long lines and a lot of virtual line breaks.


Therefore, most of the text that I view and edit is on the left side of the screen. Because of that, my head is also mostly turned a bit to the left when editing source code. As a "workaround", I can position the Sublime Text window on the screen, such that the left half of the text is positioned centrally on the screen.


Consequently, space on the right side of the text panel is mostly unused, and not much looked at, unless for very long lines of code.


Inspiration: Books and Magazines

Books and magazines have a two-page layout, while still representing one long text. The text of a book can be thought a a long, continuous text, when all the pages are cut out and glued together from top to bottom. This representation of the book would be equal to the logical representation of scrollable text in Sublime Text.


This principle can also be applied in reverse.


Proposal

I propose an option that turns a tab (or all of them) into a "book layout" or "magazine layout" view. This means that the view will be split horizontally, but the two split views will be connected in this way:


- Both split views represent the same document, in the same state.


- Both split views always have the same width and height. If the window size changes, the width of the window must be divided equally between both split views.


- If one of the two split views is scrolled up or down, the other will automatically be scrolled by the same amount.


- The first line on the right split view is always the text line that comes after the last line on the left split view.


- Scrolling is possible beyond the end of the document; when scrolling all the way down, the right scrollbar is empty (out of document), and the last line on the right scroll view is the last line of the document.


- For both split views, there is only one scrollbar, preferably in the middle between the split views.


- The text cursor can only be in one of the two split views (of course).


- When the cursor is on the last line of the left split view and moves down, it will arrive on the first line of the right split view, and vice versa.


- Scrolling up or down by one page scrolls by the height of just *one* of the split views, not both.


- When this layout is active, the view cannot be split further.


Benefits

Should be rather obvious. The user has an intuitive layout that is already known from print publications. Keeping an overview over larger parts of the document is easier. More of the window area is used for useful purposes.


Things to consider

When resizing the window, I am not sure how the split views should react to that. Which of the two has the "canonical" position? - I would propose the left, just out of intuition.


Cursor jumping from bottom left to top right might be irritating at first. Maybe a visual clue that shows the cursor actually "jumping" over, or illustrates the shift of focus of the active line, would be helpful.


Notes

As far as I know, no text editor has this feature. That's a pity to me, because I find this idea quite straightforward and useful. Emacs can be configured to work this way, with a bit of programming, but honestly, who wants to do that? - If you know of any editors supporting such a feature, please let me know!


Also, if anyone likes this idea and feels that he can make a good design mockup, I would be thankful for that.


Such a feature could also be implemented in other text editors, or IDEs, or even web/document browsers. If anyone intends to start a similar request or implementation on any other application, please let me know.

+2

Favourite languages

Josef . 12 лет назад 0

 When clicking the button in the bottom right corner to select another language (syntax highlighting, that is), I'm greeted by a screen high menu.

It would be very convenient to have a "favourite languages" feature, which effectively groups all the non-favourites into a separate "other languages" submenu, thus saving me scrolling around and looking for that one of maybe 5 languages I could possibly need.

+2

Is there a way of selecting all highlighted words?

Noor 12 лет назад обновлен Nolan Amy 11 лет назад 7
After sublime highlights all occurrences of a selected word, is there a way to expand the selection to all highlights?

+2

Feature Request: Put new tabs at the rightmost place in the tab bar, optionally

Jan Becker 13 лет назад обновлен 13 лет назад 0
Hello,
first of all, thanks for your great text editor! I use it on a daily basis, and already bought a license (Under my private email adress).

I have a feature request (i'm not sure if the feature is already available, i didn't find it):
I would like to have the option that new tabs are added at the the rightmost place. Currently new tabs are added at the right of the currently selected tab. For me, that gets confusing. I would like to close all new tabs at once, and leave the old ones open. If new tabs were added at the rightmost place, i could simply use the "close tabs to the right" command. 
For Chrome, new tabs are opened at the rightmost place per default (not necessarily right of the currently active tab).
+2

Take my money!

Xavura 12 лет назад 0
I've tried dozens of editors over the years on every platform and this is by far my favourite. I  actually legitimately look forward to the day I can afford to buy a license, it's that good.
+2

save_on_focus_lost enabled prevents Goto Anywhere from opening sometimes

Kasima Tharnpipitchai 13 лет назад обновлен Michel Vielmetter 13 лет назад 4
I have 'save_on_focus_lost' enabled.  When I'm typing quickly in the document and then hit super+p, the Find menu (in the menubar) will flash as it normally does, but the Goto Anywhere overlay does not open.  It doesn't happen every time but it does happen often.  When I turn off 'save_on_focus_lost', the behavior goes away, Goto Anywhere is reliable again.  

It might be affecting more than the Goto Anywhere behavior.  That's just the one I've seen.

I'm on OS X 10.7.2, ST2 2139
+2

Plugin to activate fullscreen always?

aristidesfl 13 лет назад обновлен 13 лет назад 0
I would like to have sublime always in fullscreen.
even when new files are opened/created.
Is it possible with the current API to create a plugin which enforces fullscreen in this cases?

thanks

+2

obey preferred browser (OS setting)

Mateusz Mucha 12 лет назад 0
ST2 opens URLs (for example when I click on Help -> Documentation) in Firefox, while my "preferred web browser" (a setting specified in my desktop environment's "preferred applications" tool) is Google Chrome.

I'm using ST 2.0.1, build 2217 on Linux Mint 13.  MATE 1.2.0 is my desktop environment.

Сервис поддержки клиентов работает на платформе UserEcho