4 ms·
Very cool, has some interesting ideas! Things I love: - Many common operations are a single keystroke - saving, switching buffers, opening a new buffer. Simpl
by sullyj3 6y ago
Very cool, has some interesting ideas!
Things I love:
- Many common operations are a single keystroke - saving, switching buffers, opening a new buffer. Simple design choices like this make the editor feel incredibly fluid.
- Jump mode is very cool
- Using interactive search for commands and opening files
Things that I miss most coming from vim:
- text objects
- paragraph motion.
- Jumping back to the previous cursor location - often useful after a search.
Overall, I think the decision to neglect almost all motion commands in favor of focusing solely on jump mode, w/b and hjkl, is mistaken. While f is undeniably fast for many operations, there are cases where it performs terribly.
Suppose I want to move a function somewhere else. In vim, I'd probably do something like `{d}` - move to the start of the paragraph, delete til the end of the paragraph.
By contrast, Amp's jump mode kind of implicitly assumes I want to be on the start of some word. It's difficult to quickly jump to an empty line. I have to hit f, enter the character pair for the first target in the paragraph, then hit k. Then I go v, hit f again, go to the final target in the paragraph, press j, and finally hit d. That's a 3 character operation that can be performed with muscle memory, to a 10 character operation that prompts the user for input twice, both times forcing them to slow down to visually locate a point near where they actually want to go. That's a pretty massive useability regression. It'd be good to see some better navigation options for use cases like this.