6 ms·
I agree. I've long thought that animation could potentially make it much clearer what's going on in Vim. Like if the user types 'das' to delete the current se
by jamesrcole 8y ago
I agree. I've long thought that animation could potentially make it much clearer what's going on in Vim.
Like if the user types 'das' to delete the current sentence, and it quickly highlights the text to be deleted, and then shows it shrinking away, as the text that was following it moves in to take its place. (Obviously, you'd want the animation to happen pretty quickly).
Such animation could make it clearer what the command is doing, and this could also make it easier to tell if you'd accidentally typed a command that didn't do quite what you wanted.
- Lio 8y agoThat’s great for someone watching over your sholder eg if you’re doing a product demo but less good if you’re on your own. There it just slows you down when you want to move on to the next task.
- jamesrcole 8y agoI gave reasons why it could help the user themselves. (Here's another: for users learning Vim) And why should it necessarily make things slower? The animation could be quite fast, and I don't see why such animations would necessarily need to block or hold up future inputs or animations. (I do think, though, that you'd need to actually try it out to see if it works in practice)
- Lio 8y agoI agree it’s possible to have animations that add useful information and don’t block the user. In practice they are rare, certainly in consumer products. I can think of more products with janky UIs than I can ones with insanely great UIs.
- brazzledazzle 8y agoI think they'd be great for new users but we'd need to be able to turn them off. No matter how fast and intuitive an animation is it's never going to be as fast as no animation.
- chin123 8y agoYou might like kakoune, a vim-like editor which focuses on interactivity: https://github.com/mawww/kakoune https://github.com/mawww/kakoune It flips around a few of vim's operations (like for example, to delete a word, you do 'wd' and not 'dw'). This allows it to highlight the text before performing an operation, which makes what you're doing much clearer.
- petepete 8y agoI love Kakoune. Vim muscle memory and not being able to work out how to have per-language settings (for indenting) were the only thinsg that stopped me from switching.
- Izkata 8y agoI'd suggest just switching to movement first, by way of visual mode. "v" turns on visual mode, "as" selects/highlights the sentence, then "d" to delete it or escape to return to normal mode.