Re:Amp: Vi-like terminal editor written in Rust
by laixer on Monday April 12, 2021 @01:01PM
(#26781905)
Something similar is available in vim via the easymotion plugin: https://github.com/easymotion/vim-easymotion
Re:Amp: Vi-like terminal editor written in Rust
by johnchristopher on Monday April 12, 2021 @04:06PM
(#26784479)
For those like me who had never used easymotion before this is the closest I got to replicate amp behaviour (so far) :map f <Plug>(easymotion-overwin-f2)
It doesn't highlight every word with shortcuts first. It does a search based on two characters max and then highlight the results with characters that you can press to move to the corresponding word.
Re:Amp: Vi-like terminal editor written in Rust
by senkora on Monday April 12, 2021 @11:37AM
(#26780583)
Looks like an implementation of avy from emacs, very cool that they included this in the base!
Re:Amp: Vi-like terminal editor written in Rust
by sooheon on Monday April 12, 2021 @11:49AM
(#26780772)
It's worse than avy because avy (and vim-sneak, evil-snipe et al) allow you to input the prefix char(s). Avy in general is insanely powerful, and abo-abo's set of elisp packages contain some of the most well thought out UX, held back by the rickety shell that is emacs.
> Press f to switch to jump mode. Elements on-screen will be prefixed with a two character jump token. Type the characters to jump to the associated element.
https://amp.rs/docs/images/jump_mode.gif