Live data from Hacker News

Modeless Vim

github.com

211–220 of 398 posts

Re: Modeless Vim

#212

Earlier quoted context omitted.

You can make it with homemade butternut squash puree too, and it will taste better because of its sweetness. Give it a try sometime.

That’s a butternut squash pie, not a pumpkin pie. ;) Try with pumpkin, nutmeg, cinnamon, and cloves… it’s that old timer pumpkin pie taste.

In most places in the world, the word “pumpkin“ refers to squash. A squash pie is also a pumpkin pie.

Re: Modeless Vim

#213
post #106

Earlier quoted context omitted.

> It's like installing a V8 in a Tesla, or replacing the pumpkin in pumpkin pie. Most pumpkin pies are actually made with butternut squash and other similar squashes, not pumpkin. https://en.wikipedia.org/wiki/Cucurbita_moschata https://www.thekitchn.com/whats-actually-in-your-canned-pump...

I've heard this claim various times, but it doesn't really make a lot of sense. Butternut squash has a carb:fiber ratio of about 6:1. Canned pumpkin is more like 3.5:1. Sure, the USDA might be lax on the precise definition of the word "pumpkin", but I don't expect them to go so easy on the nutrition data. As Wikipedia notes: >The term [pumpkin] is most commonly applied to round, orange-colored squash varieties, thoug…

> but I don't expect them to go so easy on the nutrition data

Interestingly, I expected them to go easy on pretty much anything

Re: Modeless Vim

#214

Earlier quoted context omitted.

That’s a butternut squash pie, not a pumpkin pie. ;) Try with pumpkin, nutmeg, cinnamon, and cloves… it’s that old timer pumpkin pie taste.

Apparently coffee cake has no coffee in it so we really can’t believe anything anymore.

Wait until you find out what baby food is really made of.

Re: Modeless Vim

#215

Earlier quoted context omitted.

What’s that have to do with Vim keybindings in particular?

I was just saying that if one can remember sed syntax, Vim's should be easy to follow.

The author might just have copied that sed expression form someone else.

Or looked it up once and probably now forgotten it.

Also regex expressions are not vi expresions and have wider applications so author might use them regularly.

So nothing here suggest that the author can remember vi.

Re: Modeless Vim

#216

Earlier quoted context omitted.

Vim was heavily based on vi, and vi was designed for limited terminal capacities.

And it's now been decades since vi itself, where things would've changed many times if that was the only reason that vi was modal.

Things have changed, just not the paradigm that vim operates on.

Re: Modeless Vim

#217

Personal anecdote: I've used Vim for many years, but I never progressed much beyond the basics, because I almost never put much active effort into learning more advanced motions. About a year ago, I discovered the Helix editor, which has a (IMO) genius feature, where pressing a key to start a motion or other action pops up a little pop-up box that shows all the possible options. It just perfectly clicks with my brain…

The main difference between Vim and Helix is that Helix is not hackable at all. Its configuration allows only very basic settings. It is impossible to change almost anything in its behaviour. So it focuses on being good out of the box. Whether it succeeds or not is for everyone to judge for themselves.

Re: Modeless Vim

#218

I've always disliked that Bram calls Vim a "modal" editor. All this means is your keyboard and mouse actions do different things based on what "mode" of the editor you're in. All editors are "modal" editors. In VSCode for example, if you've focused the search box, pressing up loads the previous search, compared to if you've focused the code area, pressing up goes up a line. Vim purports to be more efficient than othe…

The VS Code behaviour you're describing is "focus contextual" rather than "modal". Modal behaviour means the behaviour can change modes within the exact same focal context.

Re: Modeless Vim

#219

Personal anecdote: I've used Vim for many years, but I never progressed much beyond the basics, because I almost never put much active effort into learning more advanced motions. About a year ago, I discovered the Helix editor, which has a (IMO) genius feature, where pressing a key to start a motion or other action pops up a little pop-up box that shows all the possible options. It just perfectly clicks with my brain…

There’s also Kakoune, which is very similar to Helix.

See https://andreyor.st/posts/2023-09-20-why-kakoune/

Re: Modeless Vim

#220
post #43

IBM CUA I’ve always wondered how different Unix/Linux would be today if decades ago a Common User Access (standardized menu system like FILE | EDIT | etc) had been defined for TUI apps (like how it was for Windows & Mac OS). Imagine VI & EMacs having the same key bindings due to standards. https://sqlite.org/hctree/doc/hctree/doc/hctree/index.html#s...

Power of Vi is that its keybindings are way more ergonomical compared to IBM CUA. If you're a touch typist. It doesn't make sense to change Vi/Vim/NeoVim keybindings because they're so convenient, composable and easy to remember.

That is only the case if you think you have to press Ctrl using your pinky. You can use the side if your palm instead. Then CUA suddenly becomes very ergonomic. Try it. I've done this for over 15 years now across a plethora of different keyboards and also survived several years of Emacs unharmed thanks to it.
Post reply on HN