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

+1

Edit root files under linux

Brandon Watkins 12 years ago updated by Michael Kropat 11 years ago 2
It seems the this feature is only implemented in the OSX version of sublime. Under linux there is no way to edit files that need root access, since "sudo subl" does not work, and sublime does not prompt for a password (just says "unable to save"

This is a very important feature to have!
+1

horizontal scroll lock

henryc 11 years ago 0

When viewing lines which have 200+ characters long, without wordwrap, and you scroll down, the horizontal view always gets shifted back to the home position (where character position1 is viewable).  Notepad++ does this correctly.

 

This capability is needed when using this text editor to view heavy log files, where the first half the file is date-time stamps that are usually best to be out of view.

 

UPDATE 5/17.  I just downloaded the latest Sublime Text 3 build, and it fixes the problem.  Please remove this request.  Thanks!

+1

Under Linux, when using subl for opening new file(s), the file will be opened on last active window, not new one (the same to mac option)

Anh Tu Nguyen 13 years ago updated 13 years ago 0
Under Linux, when using subl for opening new file(s), the files will be opened on last active window, not new one (the same to open_files_in_new_window option on Mac). Or we can use parameters to decide to do that: subl --open --new-window file_name (open in new window).
+1

Wrap operation should honour non breaking spaces

Bradley Ayers 12 years ago 0

I'm writing Python and put code snippets in "docstrings". I use the wrap command to keep the lines within my ruler, however I don't like having short code snippets like ``foo = True`` split across two lines.


I realised that a simple way to solve this is to use non-breaking spaces rather than regular spaces, however it seems ST2 doesn't honour these when wrapping.


I suggest the wrapping behaviour should be changed to respect non breaking spaces.

+1

Create port of Sublime Text editor for Windows RT

Michal Zygmunt 11 years ago 0
Windows RT is very handy and relatively cheap device. It would be awesome to have Sublime Text editor for it.
+1

A setting to make untitled-1, untitled-2 the default name for new files

Pedro Murillo 11 years ago 0

When you create a new file, its first line becomes the displayed name for its tab and sidebar item. Is there any setting to disable this and return to the previous behaviour, where new files where just named untitled-1, untitled-2, etc?

+1
Not a bug

command line behaves inconsistently concerning opening new windows

Thomas Jachmann 13 years ago updated by Jon Skinner 13 years ago 3
My open_files_in_new_window setting is set to false.

Here's how sublime behaves:
`subl a_file` opens the file in the current sublime window
`subl a_directory` opens the directory in a new sublime window
`subl -n a_file` opens the file in a new sublime window
`subl -n a_directory` opens the directory in a new sublime window but also opens another new and empty  sublime window

Here's how it would be consistent:
`subl a_file` opens the file in the current sublime window (same as above)
`subl a_directory` adds the directory to the current sublime window
`subl -n a_file` opens the file in a new sublime window (same as above)
`subl -n a_directory` opens the directory in a new sublime window without opening another sublime window

So basically, the new window behavior is broken on opening directories.
Answer
Jon Skinner 13 years ago
The command line is working as intended with respect to folders and new windows in the current dev builds (unwarranted empty windows are no longer created)
+1

subl --wait never returns when invoked on a directory

Josh Strater 12 years ago updated by Rory Powis 11 years ago 1

My VISUAL environment variable is set to subl --wait. When invoked on a directory (subl --wait my_directory/), the command never completes, even after quitting Sublime Text 2 entirely.

+1

Using layout to have a preview

Keisuke Takahashi 11 years ago 0
Hello,

I think it's could be interesting to have an option, that developpers can use, to transform a panel in the layout, to be an html preview.

For example, I want to develop a markdown preview, but I won't use the preview in a browser, so my idea is to be able to have 2 layouts (side by side) and the first one to write the markdown, and the other one to have an html preview of it.

Of course it's just an example, and could be use for more usage...

Thanks in advance,
+1

Narrower find buttons

Tomek Sowiński 12 years ago 0

I like my Sublime Text window narrow so that I can fit a web browser next to it. The problem is, the search field in the bottom find panel is gone -- in a narrow window the three find buttons take all the x-space.


Proposal: make the find buttons narrower (just narrow enough to fit the labels) when the window is narrow to display a reasonably sized search field.