Live data from Hacker News

Modeless Vim

github.com

51–60 of 398 posts

Re: Modeless Vim

#51
post #46

Earlier quoted context omitted.

> I hate how they do it What exactly do you hate? The site says: > > Ctrl+S to save, select text using Shift+←/→/↑/↓, and copy/paste using Ctrl+C/V. I haven't setup Control-S, but I have very similar bindings: Shift and arrows for selecting, then Alt or Control-Shift for moving the selection around, as shown on https://raw.githubusercontent.com/csdvrx/CuteVim/main/record... Also, like the author I have a shortcut to…

Back in my day, when we pressed Ctrl+S, the terminal froze, and that's just the way we liked it. https://unix.stackexchange.com/questions/12107/how-to-unfree...

Ctrl-Q whew

Re: Modeless Vim

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

Re: Modeless Vim

#54
post #46

Earlier quoted context omitted.

> I hate how they do it What exactly do you hate? The site says: > > Ctrl+S to save, select text using Shift+←/→/↑/↓, and copy/paste using Ctrl+C/V. I haven't setup Control-S, but I have very similar bindings: Shift and arrows for selecting, then Alt or Control-Shift for moving the selection around, as shown on https://raw.githubusercontent.com/csdvrx/CuteVim/main/record... Also, like the author I have a shortcut to…

Back in my day, when we pressed Ctrl+S, the terminal froze, and that's just the way we liked it. https://unix.stackexchange.com/questions/12107/how-to-unfree...

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

Re: Modeless Vim

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

> But since I was logging into different machines all the time

We now have actually portable executables (multiplatform, multios) that contain their own config file: you can just scp 1 binary and be done with it.

Re: Modeless Vim

#58
Seems maybe author did not know that this is already built into vim?:

"easy vim", aka evim, or "vim -y". see "man vim"

That said, if modeless editor you are looking for... then vim is not the editor you're looking for. It goes against what vim is, and hamstrings it. Learning vim is a journey, and once comfort sets in, you will understand why, why vim.

Re: Modeless Vim

#59
post #6

As the author states, the purpose of this is for users who work in other editors. But if that’s the case, when would they need this? Assuming they mean when a user is logged into another device where they only have terminal access. But in that case, this wouldn’t be installed by default-one reason to learn vim or emacs. So is the use case that one would just install this on the remote box and that their permissions w…

The main reason I don't use IDEs is because I always find sshfs to be annoyingly slow, and it is often convenient for me to edit code on a VPS.

So I am definitely going to try this.

Re: Modeless Vim

#60
this is violence. i never knew it was possible to emit a shitpost in the form of a github project, i am simultaneously disgusted and humbled.
Post reply on HN