Re:Modeless Vim
by mtillman on Monday January 15, 2024 @10:06PM
(#39008942)
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 would allow for this? If they have the permissions wouldn’t they just be able to connect via their existing IDE and skip the terminal altogether?
[ Parent
| on HN ]
I started using this because my favorite editor (micro) has very poor syntax highlighting for ruby. It's a very specific use case but it's quite nice and I'm considering switching to modeless vim
You claim that you forget Vim keybindings, but then you have this on your about page:
email: echo soaper.:.disroot.:.org | sed 's/.:./@/; s/.:././'We all have limited capacity to learn stuff. If I didn't already know Vim, there's very little chance I'd have the motivation/time/energy to learn it for the first time now.
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.
Re:Modeless Vim
by xboxnolifes on Monday January 15, 2024 @11:51PM
(#39009653)
You don't need to memorize the syntax to have a script.
No joke: I wouldn’t have a programming career if remembering syntax were a requirement.
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.
Why not just use an editor that’s really good at it then? Given you don’t prioritize portability.
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.
This is just a vim config. On shared systems it is very common to have permission to edit your home directory but not to install additional software (and frowned upon to install software into your homedir even though it is possible).