Live data from Hacker News

Modeless Vim

github.com

201–210 of 398 posts

Re: Modeless Vim

#202

As an old vim graybeard, more power to you. I'd recommend checking out `vim -y` as well. (And once you try _that_, you'll likely have a question, the answer to which is Ctrl-l.) To others on this thread decrying this as heresy: leave 'em be. Let everyone use whatever editor flows works for them. Programming is hard enough without having to conform to other people's beliefs of how _you_ ought to use your own editor!

[deleted]

Re: Modeless Vim

#203
post #73
post #54

Earlier quoted context omitted.

> Back in my day, when we pressed Ctrl+S, the terminal froze, and that's just the way we liked it. I don't think anyone needs (or even wants) the terminal to freeze on such a common shortcut in 2024. Personally, I have reclaimed Ctrl S for word delete (usually done by Alt-d)

Related: why does the shortcut to delete back a word (^W), close my browser tab?

it also switches focus window, which is makes things even more confusing

Re: Modeless Vim

#205
post #37

Conceptually the reasons the author give for this (syntax highlighting and other features of vim outclass other terminal-based editors) make total sense. That said there's something absolutely defiling about this. It's like installing a V8 in a Tesla, or replacing the pumpkin in pumpkin pie. I love that it will make VIM more accessible for more people, but I hate how they do it. Kudos to the author.

> 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...

If you'd left off "not pumpkin", you'd be technically correct. But it's a somewhat nuanced topic.

https://www.snopes.com/fact-check/canned-pumpkin-isnt-actual...

[I'll just add one more note, not mentioned in the article, which is that typical Jack-o'-lantern pumpkins are quite awful for cooking. Much worse than any canned pumpkin. If you want to cook with fresh pumpkin, research the varietals that are known for good texture and flavor. Don't grab a carving pumpkin from the pile.]

Re: Modeless Vim

#206
post #86

Earlier quoted context omitted.

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

Wait until you learn about Tunnock’s Tea Cakes.

There's no tea, and they aren't cakes - but there is a whole fresh Tunnock in every one!

Re: Modeless Vim

#207

Earlier quoted context omitted.

My life has been a lie. That sounds incredible.

To be fair - coffee cake in the US is cake to have with coffee and doesn’t normally contain any coffee. In the UK and EU, coffee cake is cake with coffee. Likewise tea cakes in the US are cakes made with tea and tea cakes in UK and EU are cakes to have with tea. So… Not a lie, just a Spider-Man meets Spider-Man moment when you learn you can actually make coffee cakes with coffee (or espresso) and you can make tea cak…

Oyster stout shouldn't have oysters in, but usually does.

Re: Modeless Vim

#208
post #42

I attempted this within a few days of first being exposed to vi - 35 years ago. But since I was logging into different machines all the time I soon decided it was better to just use vi the way it came out of the box, modes and all. That philosophy has served me well over the years.

I totally agree, but we should concede that the defaults need to accommodate the next billion users instead. I propose that a distribution ought to have the right to: - Easy-mode as sensible-editor - runtime mswin.vim, set nocompatible, etc as the skel vimrc These are easier to change than driving new users to Google “how to exit vi”. But remapping Ctrl-O, like this post, is a breaking change.

Speaking about mswin.vim which does mostly what this does: what's the point of this project.

Re: Modeless Vim

#209
post #73
post #54

Earlier quoted context omitted.

> Back in my day, when we pressed Ctrl+S, the terminal froze, and that's just the way we liked it. I don't think anyone needs (or even wants) the terminal to freeze on such a common shortcut in 2024. Personally, I have reclaimed Ctrl S for word delete (usually done by Alt-d)

Related: why does the shortcut to delete back a word (^W), close my browser tab?

That gets me multiple times a day. What is even worse is ^h opens the history instead of just deleting the last character.

Re: Modeless Vim

#210

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…

Nice! I have memorised a lot of Vim actions over the years, but this would still absolutely help me a lot. I would love to have this for (Neo)Vim.
Post reply on HN