Live data from Hacker News

Amp – A complete text editor for the terminal

amp.rs

21–30 of 174 posts

Re: Amp – A complete text editor for the terminal

#21
post #12

Installed it and played around for a bit. Nice work overall. Amp's jump mode (press `f` and elements in the buffer will be prefixed with a two character jump token) is pretty cool. Would love to see this in Vim.

The irony. Easymotion was created as a better precisejump. Precisejump was created or at least uploaded in Feb 2011.

Re: Amp – A complete text editor for the terminal

#24
post #6

>A modal, keyboard-driven interface inspired by Vim that makes navigating and editing text fast. But what does it do different than vim? Having competition is good, but I don't see any "that's why you should use amp and not vim"-reason. Where is it?

I do wish there were more modal, terminal-based text editors that weren't so similar to Vim.

Kakoune is Vim-like, and now this.

Re: Amp – A complete text editor for the terminal

#25

I honestly don't know why people would want to navigate code using jump-mode/easymotion. I've found it far more confusing than just searching for the word.

ctrl+W enter - seems you are right :D <3 nano hahah i find more complicated editors just distract with their fancies from what you are doing. inputting and deleting characters.

Re: Amp – A complete text editor for the terminal

#26
post #18
post #6

>A modal, keyboard-driven interface inspired by Vim that makes navigating and editing text fast. But what does it do different than vim? Having competition is good, but I don't see any "that's why you should use amp and not vim"-reason. Where is it?

I think one of the main reasons it exists is that it's written in Rust. One clue is that the TLD is .rs, plus there's been a lot of "a written in Rust" lately. Which is fine; it's just an observation. I myself am going to be getting into Rust soon, hopefully.

I think it's a lot easier for someone to learn a new language, or learn the benefits of a new language, by recreating something which already exists.

Re: Amp – A complete text editor for the terminal

#27

The documentation or the website doesn't list all the languages it supports, especially for jump to definition. It just says all popular languages. This is a bit concerning, because the docs also mentions no (planned) support for plug-ins yet. FWIW, I'm interested in Haskell support. For jumping to definitions and showing type of expression under cursor.

ghcmod-vim lets you query types but I hadn't found anything that allows gotodef which is why I just went back to vscode + vim keybinds + haskero and everything just works.

Re: Amp – A complete text editor for the terminal

#28
post #6

>A modal, keyboard-driven interface inspired by Vim that makes navigating and editing text fast. But what does it do different than vim? Having competition is good, but I don't see any "that's why you should use amp and not vim"-reason. Where is it?

I do wish there were more modal, terminal-based text editors that weren't so similar to Vim. Kakoune is Vim-like, and now this.

It is indeed quite amazing how modal editing is usually defined by vi, which does so in very specific ways, when there are alternatives (like kakoune) which really show there's a whole spectrum of possible implementations of that idea. I wish there was a modal editor with the same scope as nano which would help introducing that concept to newcomers without aiming to maximize productivity / expressiveness.

Re: Amp – A complete text editor for the terminal

#30

I honestly don't know why people would want to navigate code using jump-mode/easymotion. I've found it far more confusing than just searching for the word.

ctrl+W enter - seems you are right :D <3 nano hahah i find more complicated editors just distract with their fancies from what you are doing. inputting and deleting characters.

It's just a learning curve. Over time it starts becoming second nature and you don't even notice that you're doing it. Must like most things we do in our day to day that are actually rather complication functions (driving, writing, walking, etc).

What I do like about the vim keys though is the ability to delete or copy/paste with precision by chaining hotkeys together.

Regarding your searching for a word example, unsurprisingly you can do the same in vi (let alone vim) too:

  / - search forwards
  ? - search backwards
edit: It wasn't me who voted you down by the way. I know you've not complained about it but I wanted to express that I don't agree with you getting downvoted even though I don't agree with the content of your post.
Post reply on HN