Live data from Hacker News

Sublime Text 2 Build 2091

sublimetext.com

61–70 of 89 posts

Re: Sublime Text 2 Build 2091

#61
post #40

Earlier quoted context omitted.

I don't think there are many people who are seriously using both vim and emacs equally. Fully mastering either of them costs years...

They may not be mastered equally. For example, I find myself using vim to edit files on servers, because setting up emacs to my taste is always a bit of a pain. (I do know about TRAMP.)

I feel very comfortable in both of them. If Vim had ido, vc and slime, it would be the clear winner (because of RSI). I don't write Vimscript thought.

Re: Sublime Text 2 Build 2091

#62

It'll take a lot to convince me to switch to a new text editor (coming from a perfectly-customized MacVim experience). Sublime Text 2 is the first that has even caught my attention, and each new build has given me more to love about it. That said, it's going to take real vim bindings for me to actually switch. Of all the amazing features ST2 has been adding, none of them increase my productivity while programming mor…

Try http://vicoapp.com/ - TextMate bundles, a real, Lispy scripting language (Nu), and vim style modal editing. Still has a ways to go in terms of vim command parity, but I've been using it as my main editor for the past month and really enjoying it.

Re: Sublime Text 2 Build 2091

#63
There are a lot of features / useful things that are actually in Sublime but just in a preference toggle where you have to look it up.

http://sublimetext.info/docs/en/reference/settings.html

An example would be "trim_trailing_white_space_on_save": true, (very useful)

Anybody else have any preferences that they use a lot that aren't obvious?

Re: Sublime Text 2 Build 2091

#64

It'll take a lot to convince me to switch to a new text editor (coming from a perfectly-customized MacVim experience). Sublime Text 2 is the first that has even caught my attention, and each new build has given me more to love about it. That said, it's going to take real vim bindings for me to actually switch. Of all the amazing features ST2 has been adding, none of them increase my productivity while programming mor…

I can't agree more. I love trying different text editors, but I have grown so comfortable with vim that now navigating without hjkl just seems weird as well as many other things. I plan on trying Sublime Text 2. The last time I briefly tried to use it, I did not find a lot of good documentation on how to get started with it. I hope that has changed.

Re: Sublime Text 2 Build 2091

#66
post #62

It'll take a lot to convince me to switch to a new text editor (coming from a perfectly-customized MacVim experience). Sublime Text 2 is the first that has even caught my attention, and each new build has given me more to love about it. That said, it's going to take real vim bindings for me to actually switch. Of all the amazing features ST2 has been adding, none of them increase my productivity while programming mor…

Try http://vicoapp.com/ - TextMate bundles, a real, Lispy scripting language (Nu), and vim style modal editing. Still has a ways to go in terms of vim command parity, but I've been using it as my main editor for the past month and really enjoying it.

Another vico convert from Textmate here. There are still some rough edges, but overall a pleasant experience. Surprisingly Mac-like for an editor that is fundamentally un-Maclike. It's been my main editor for two weeks, and I don't feel like going back to TM as my main text editor.

The biggest change (other than the fact that it's now primarily vi modal behavior rather than MacOS) is the missing find in project command. I get by with the find cli command, but it would be great if vico had a dialog-driven Find command as well.

Bonus is I'm becoming much more fluid at vi/vim which pays off just about everywhere.

Re: Sublime Text 2 Build 2091

#67
post #55

Earlier quoted context omitted.

I start vim from the directory of the project that particular MacVim window will be working on. From there I use NerdTree and Command-T to open buffers/tabs in the same window.

I do this too. How do you manage switching between open buffers, or closing one without closing the others? I don't have a good solution for the first, and for the latter I find I have to close nerdtree for :bw to work as expected.

use :ls to list the open buffers. Then use :b to switch between buffers.

Re: Sublime Text 2 Build 2091

#68
post #55

Earlier quoted context omitted.

I start vim from the directory of the project that particular MacVim window will be working on. From there I use NerdTree and Command-T to open buffers/tabs in the same window.

I do this too. How do you manage switching between open buffers, or closing one without closing the others? I don't have a good solution for the first, and for the latter I find I have to close nerdtree for :bw to work as expected.

I use minibufexpl[1] to list the open buffers at the top, and have the up/down arrows mapped to :bp/:bn

[1] http://www.vim.org/scripts/script.php?script_id=159

Re: Sublime Text 2 Build 2091

#69
post #55

Earlier quoted context omitted.

I start vim from the directory of the project that particular MacVim window will be working on. From there I use NerdTree and Command-T to open buffers/tabs in the same window.

I do this too. How do you manage switching between open buffers, or closing one without closing the others? I don't have a good solution for the first, and for the latter I find I have to close nerdtree for :bw to work as expected.

Just to throw in another $0.02...

I use bufexplorer[1]. There's something about minbufexpl's list that seems unappealing to me when it spans multiple lines. I also have CTRL-j/CTRL-k mapped to :bnext/:bprev. As for closing a buffer, my main window generally has a single vertical split, so I have the following kludge:

    map  :vert split:bnext:wincmd l:bdelete
This creates another vertical window temporarily, advances to the next buffer in that window, activates the window to the right (which still shows the buffer I'm trying to kill), and then deletes that buffer leaving me with two windows again. Amusingly, my older machines were slow enough to catch a glimpse of the third window, but it disappears too quickly to see on my new machine.

[1] http://vim.sourceforge.net/scripts/script.php?script_id=42

edit: described kludge a bit better

Re: Sublime Text 2 Build 2091

#70
post #55

Earlier quoted context omitted.

I start vim from the directory of the project that particular MacVim window will be working on. From there I use NerdTree and Command-T to open buffers/tabs in the same window.

I do this too. How do you manage switching between open buffers, or closing one without closing the others? I don't have a good solution for the first, and for the latter I find I have to close nerdtree for :bw to work as expected.

You realize that commandT also comes with a 'commandB' command that allows you to navigate open buffers?
Post reply on HN