Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm a Sublime Text 2 user who tried switching to vim because everyone swears by it.

In the first few hours I realized I need to install a lot of plugins what essentially end up emulating GUI in the console. But later on in my (minimal) usage I just felt like I'm learning a different set of "commands", or keyboard shortcuts, than what already existed[1] in Sublime Text 2. In fact, I missed Sublime Text 2 features like the ones that enabled me to "sneak peak" a file without opening it, auto-scroll to a function definition and auto-scroll back without losing my position and other niceties.

I'm sure I don't realize what features vim may have that Sublime Text 2 does not, that I don't know about. How do you use vim, what features am I missing?

[1] Without the overhead of changing modes for brief moments.

share|improve this question

closed as not a real question by Nifle, Daniel Beck Oct 10 '12 at 16:09

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Since there isn't a list of features for "a modern code text editor" it isn't possible to say which vim features are not in that list. – RedGrittyBrick Oct 10 '12 at 16:04
@RedGrittyBrick True. I've changed it to Sublime Text 2. – Dawg Oct 10 '12 at 16:06
@RedGrittyBrick Please note that the question asks for the opposite: "I'm sure I don't realize what features vim may have that Sublime Text 2 does not, that I don't know about. How do you use vim, what features am I missing?". Which is also the reason I closed this. This question is probably best answered by reading one of the books on vim. – Daniel Beck Oct 10 '12 at 16:25
ST2, like all the other text editors and IDEs, is limited by its modelessness. Modeless editors simply can't achieve the granularity level offered by Vim because they are forced to use potentially weird key combos and offer no mechanism to provide counts or ranges. Take a look, for example, at the fold-related mappings (which represent a very small subset of Vim's arsenal) and try to imagine how ST2 could provide that level of control with a set of easy to remember Ctrl+Shift+Alt+Alpha shortcuts, including the notions of count and range. Mission. Impossible. – romainl Oct 10 '12 at 20:11
Like all his predecessors, ST2's author had only one choice: offer a couple of shortcuts for what he perceived as the most immediately useful fold-related actions and make the others available via a menu. And he didn't include half of what Vim provides. Here is another hint, and a damning one: ST2 has more text editing features available with Vintage mode than without. How crazy is that? ST2's text engine is actually too powerful and actually limited by ST2's modelessness. – romainl Oct 10 '12 at 20:24