I know this is supposed to be a joke. But, VI is awful, and i can’t believe anybody would use that over a modern editor. But, I know some people who like it.
how do you tolerate the 0 and $ to jump to the ends? it’s so painfully inconvenient and made me switch to helix where it’s g->h and g->l. do you not use the default keymap?
Most nvim users I know have their setup very much customized. That takes time, effort and is a pita. But afterwards you have a tool that just works like you want it to work, and is super fast (at least compared to VSCode).
They’re both code/text editors, or what would you call VSCode instead? An IDE? you can make an IDE out of nvim if you want.
Yes, there is a vim mode in VSCode, but in some cases it can be very slow (like editing a few thousand columns at once), and is not as tightly integrated.
Modern “vi” is typically a symlink to vim, and as long as compatibility is disabled it’s very useful; especially when working over ssh or quick and dirty config editing that doesn’t warrant a full blown ide to be started up.
Nano is for people that are too lazy to learn vi if they much time (ergo not needing it)or have too less time to learn it (even tho, they would get so much time back in return, if they would learn vi)
This applies only to people that regularly work with GUIless headless machines
Okay I kinda get it if you regularly write scripts or configs on headless machines, though even then I’d think using just vscode remote development plugin would be my tool of choice.
Usually I use nano if I just need to do a quick change to a file, or even on my personal device if it requires sudo (such as apt sources or fstab) and I do it just once so don’t bother thinking how to use sed for it
I know this is supposed to be a joke. But, VI is awful, and i can’t believe anybody would use that over a modern editor. But, I know some people who like it.
Literally the only thing I code in at work. Have done so for decades.
Can’t stop, won’t stop.
how do you tolerate the 0 and $ to jump to the ends? it’s so painfully inconvenient and made me switch to helix where it’s g->h and g->l. do you not use the default keymap?
you can change that if it bothers you
yeah ik, I’m just curious about how people deal with it
Most nvim users I know have their setup very much customized. That takes time, effort and is a pita. But afterwards you have a tool that just works like you want it to work, and is super fast (at least compared to VSCode).
I don’t understand why you compare it to vs code, it’s not a text editor and besides, it has vim too?
They’re both code/text editors, or what would you call VSCode instead? An IDE? you can make an IDE out of nvim if you want.
Yes, there is a vim mode in VSCode, but in some cases it can be very slow (like editing a few thousand columns at once), and is not as tightly integrated.
Shift-A and Shift-I to append at the end or insert at the start.
Once you know the system, it’s much easier to do everything without having to take your hands off the keyboard to use a mouse.
For me, it’s that it is shorter to type 0. Also I cannot somehow recall 2 letter commands
Muscle memory mostly. I miss vim keybinding when I have to type in anything else, including Lemmy.
You could also do
I
orA
followed byesc
for the same effect.Most often though I use
/
or?
to just go specifically where I want.Yeah, it’s a dinosaurs tool for people who refuse to adapt to new stuff.
Imagine thinking modern IDE are more efficient than vi 😯
Curser is more intuitive, I agree, but you will never win a code race against similar skilled coder on vi…
Coding isn’t a race, it’s a team sport. And if you think its not, you’re in the wrong profession.
Umm, there are regularly coding race events here where I live…
Coding can be hobby as well, you know.
Not all of this world is pure capitalism, some have some free time doing stuff they want how they want.
Coding is not my profession (right now)
If you value it as a hobby, don’t make it that again :)
Modern “vi” is typically a symlink to vim, and as long as compatibility is disabled it’s very useful; especially when working over ssh or quick and dirty config editing that doesn’t warrant a full blown ide to be started up.
Nano is for that purpose
Nano is for people that are too lazy to learn vi if they much time (ergo not needing it)or have too less time to learn it (even tho, they would get so much time back in return, if they would learn vi)
This applies only to people that regularly work with GUIless headless machines
Okay I kinda get it if you regularly write scripts or configs on headless machines, though even then I’d think using just vscode remote development plugin would be my tool of choice.
Usually I use nano if I just need to do a quick change to a file, or even on my personal device if it requires sudo (such as apt sources or fstab) and I do it just once so don’t bother thinking how to use sed for it
It is a pain for larger files. It small and light but doesn’t have the same featureset.
I prefer vim, but vi is nice too. (I miss Vimperator for Firefox)
It’s just so fast when you get it down. It works well with a cli-only work flow. Why use mouse when type very fast?
There’s immense pleasure and honor in writing C the way our ancestors did.
Vim actually has pretty good mouse support too if you turn it on!
for Firefox there’s now Vimium-c and Tridactyl. personally using Vimium and its been great
If you liked vimperator, you might like https://qutebrowser.org/
it’s not everyone’s cup of tea, and that’s fine. It’s not awful though. Arcane, yes. very powerful? also yes.
Most people just use vim