News for hackers. Stuff that matters.
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?
Re:Modeless Vim by soap- on Monday January 15, 2024 @10:11PM (#39008975)
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
Re:Modeless Vim by behnamoh on Monday January 15, 2024 @10:27PM (#39009085)
You claim that you forget Vim keybindings, but then you have this on your about page:

   email: echo soaper.:.disroot.:.org | sed 's/.:./@/; s/.:././'
Re:Modeless Vim by nerdponx on Monday January 15, 2024 @10:50PM (#39009251)
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.
Re:Modeless Vim by GavinMcG on Monday January 15, 2024 @10:49PM (#39009244)
What’s that have to do with Vim keybindings in particular?
Re:Modeless Vim by behnamoh on Monday January 15, 2024 @10:52PM (#39009262)
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.
Re:Modeless Vim by wharvle on Tuesday January 16, 2024 @10:19AM (#39014195)
No joke: I wouldn’t have a programming career if remembering syntax were a requirement.
Re:Modeless Vim by pasc1878 on Tuesday January 16, 2024 @06:44AM (#39012206)
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 by mtillman on Monday January 15, 2024 @10:12PM (#39008985)
Why not just use an editor that’s really good at it then? Given you don’t prioritize portability.
Re:Modeless Vim by ilaksh on Monday January 15, 2024 @11:26PM (#39009489)
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 by pavon on Monday January 15, 2024 @10:59PM (#39009315)
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).