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

+25

Keep undo history across sessions, per file

Vincent Voyer il y a 13 ans mis à jour par Brian Herold il y a 12 ans 1
Would that be possible?

So that we keep an undo (ctrl+z) history per file across sessions. So that if I close my editor, re-open, I'll be able to still ctrl+z some changes.
+25

Insert file creation date or current date into snippet

Chris Browne il y a 12 ans mis à jour par Kiran Singh Randhawa il y a 8 ans 1

It would be great if there were a snippet variable for various dates (current date, file creation date, file last-modified date) in order to craft informative file-heading comments that give away some clue as to the age of a file and how often it's updated.

+24

Support vim's scrolloff

Harald Lapp il y a 14 ans mis à jour par Oktay Acikalin il y a 14 ans 1
Vim has a very nice feature called 'scrolloff' which allows to define a minimal number of lines to keep above and below the cursor when scrolling. It makes it very convenient to work with files where there's already content below the cursor ...
+24

Mouse gestures

Nicolay77 il y a 13 ans mis à jour par Andrzej Makowiecki il y a 12 ans 1
Like the ones in Opera browser.
+24

"Zoom" reset

Andrew Montag il y a 12 ans mis à jour par Craig Patik il y a 12 ans 2
I like using Ctrl + Scroll to change the font size (easy for presenting to other people) but the only thing missing is Ctrl + 0 to reset! 
+24

Save a copy

Sébastien Le Martelot il y a 13 ans mis à jour par Messa il y a 12 ans 1
A simple "Save a copy" function which save the current file under another name while keeping open the original.

For example :
I'm editing the file "Text1" and I would like to save it to "Text1_backup"  while continuing to edit "Text1".
+24

Default encoding (charset) to save new files

Fernando Carlétti il y a 13 ans mis à jour par Sensei Monks il y a 11 ans 3

Would be nice if the editor could save new files with a predefined charset.


My employer use ISO-8859-1 as default charset and I have to change this everytime I save a new file.

+24

Display syntax selectors with unicode characters (aka Vim's conceal)

Iván -DrSlump- Montes il y a 13 ans mis à jour par Doug Avery il y a 12 ans 2

In Vim 7.3 they added a really nice feature allowing to display some syntax regions (selectors) as configurable unicode characters. It makes much easier to read some languages, like the following example for Javascript where "function" has been replaced by "𝑓", "this." by "@" and "return" by "" .



With the recent inclusion of code folding, which allows for "inline" folds, I think the editor is ready to implement this feature without much effort. 


I've tried to implement a plugin for this but I'm lacking one API function, which could work just like View.fold but allowing to set a custom character and syntax selector for its display, instead of the currently hardcoded fold icon.

+24

Improve discoverability of Sublime's functionality

Joel Thornton il y a 14 ans mis à jour par Jean-Denis Vauguet il y a 13 ans 2
Sublime Text (both 1 and 2) are packed with great functionality, and packages add much more. However, it often takes a web search to find out about some of Sublime's more obscure features.

Improve the discoverability of Sublime's manifold functionality. Some ideas:

* Optional tips-on-startup dialog (with "don't show next time" checkbox); especially useful for new users of the demo version

* Add a mechanism like `apropos` to search for commands/keybinds that may do what you want. Having a short plain-English description with each command would improve search discoverability. Descriptions would need to be associateable with both commands and specific keybinds. Add a help menu item labeled "I want to..." to open the apropos prompt.

* Add a mechanism for the user to get context-sensitive help for any keyboard command or menu item. Wire it up to a wiki to let the community help build up these docs.

* Add a help menu item "Keyboard shortcuts" which generates a human readable list of the current keybindings in a new buffer. This list could sort the binds by keystroke and include the short `apropos` description for each keybind.

* Require installed packages to provide apropos-style descriptions of all their commands and key bindings.

* Allow package creators to include a help file with their package. Make these help files accessible through a new help menu item "Package Help >".
+24

Do not copy an empty string to the clipboard when Ctrl-C is pressed and nothing is selected.

Teddy Knox il y a 13 ans mis à jour il y a 13 ans 0
Pretty self explanitory