Vim is built different
-
Setup for the overused joke - I've been using vim since I first started using a computer, I just can't quit.
Right now I'm at the hospital in the exam yr colon queue! Maybe it helps U too.
-
‘vimtutor’ is your friend. Nobody sane uses vim as an IDE, but if you have to ssh to a host to fuck with a config file it’s pretty nice to know because you can guarantee that most distros have at least vi, if not vim.
And if not they have sed or ed or echo and cat.
-
This post did not contain any content.
I've recently started administering windows headless. PowerShell over SSH.
Don't have this problem on windows server!
It doesn't even have a terminal text editor
I have to install nano or use powershell commands through hoops of fire just to edit a line in a file.
Or download the file via scp, edit and reupload.
Pure Insanity.
-
The loyal cult is the result of Stockholm syndrome.
Of course. We just can't quit
-
Because they grew up with it? I cant think of any other reason. I used it in college for a class bcz my old as fuck professor required it. Its obtuse, old, and doesn't have a lot of functionality of modern code editors.
The only people who want to use it are people who started with it decades ago, or people who were forced to use it, and now think they're superior somehow to everyone else who doesn't use it.
If you can't think of a reason, then you could have just asked. Or read a few threads here or somewhere else. But instead you went forward typing your oh so very informed opinion, which itself is a good invitation for "shut up, lousy know-nothing type of human" kind of response. I do hope you'll do better next time you see a piece of lore and culture you have no clue about
-
I don't know why there's so much hate for Vim. It's simple- just use it as your default text editor since you first started using computers, and keep using it forever, and problem solved!
:set nocompat
Why VIM decided to make itself run just like VI (by default) is beyond me. Isn’t the long name “VI Improved”?
-
Personally, I have seen so many memes about exiting vim that by the time I got to use it for the first time, exiting it was a no-brainer.
For any newbies out there, the command is
:wq
wrote on last edited by [email protected]:w
= write; or overwrite if the file already exists.Please don’t give blanket destructive advice.
-
How is this a lazy argument? Most people dont use Fortran, Cobol, or Assembly anymore for the same reason. There are better alternatives out there.
I'm not an old hat programmer and have never been forced to use VIM, but I started learning how to navigate because of the potential efficiencies that comes with it, and because I like to learn new things. I'm not good at it, but I've gotten a lot better, and I will continue to do so because it's enjoyable, neovim is extremely customizable, and the vim key bindings can be used in vscode for when I use that. I also use Linux, so it felt like the right direction to go, but mostly for the memes.
I don't use it for high level language coding like python, JS, and definitely nothing.net related like c#, but it's solid for lower level like C.
You don't have to enjoy it, but there are some extremely skilled programmers out there that can code laps around other extremely skills programmers just because they use vim/neovim and can navigate at a stupid fast rate. Watching some like the Primeagen on YT is humbling.
-
If you can't think of a reason, then you could have just asked. Or read a few threads here or somewhere else. But instead you went forward typing your oh so very informed opinion, which itself is a good invitation for "shut up, lousy know-nothing type of human" kind of response. I do hope you'll do better next time you see a piece of lore and culture you have no clue about
Seems like I struck a chord. I get this same response anytime vim comes up in a thread. Its almost as bad as the linux gatekeeping. Apparently I'm not allowed to have an opinion that differs from the group.
-
also worth noting you open vim the first time, you get a huge ass splash screen telling you how to exit
Only if you don’t immediately open a file.
-
This post did not contain any content.
I switched from vi to vim in 1994 and found it immediately obvious how to quit — it was just like vi!
I guess I'll never understand these memes.
-
Seems like I struck a chord. I get this same response anytime vim comes up in a thread. Its almost as bad as the linux gatekeeping. Apparently I'm not allowed to have an opinion that differs from the group.
"It sucks because I can't see why it is even useful" is not an opinion, it is ignorance, and you have already shown it to be a willful one. No wonder you get shat on repeatedly
-
If you're just doing a quick config edit, nano is significantly easier to use and is also present in most distros.
Vi/Vim is useful as a customizable dev environment, but in the present there are better, more feature-rich development tools - unless you are specifically doing a lot of development in a GUI-free system, for some reason.
Im completely lost on Nano. Vim is SO much quicker.
-
"It sucks because I can't see why it is even useful" is not an opinion, it is ignorance, and you have already shown it to be a willful one. No wonder you get shat on repeatedly
I've used vim, and I didn't like it. That is the definition of an opinion.
-
There's also
ZZ
Same caveats apply, smash that fukken esc key (for bonus points rebind caps lock as esc) then ZZ Top your way out of that shit.
This is the most correct answer.
Rebind Caps to Esc.
ZZ (or ZQ if you don't want to save the file).
-
I've recently started administering windows headless. PowerShell over SSH.
Don't have this problem on windows server!
It doesn't even have a terminal text editor
I have to install nano or use powershell commands through hoops of fire just to edit a line in a file.
Or download the file via scp, edit and reupload.
Pure Insanity.
Clearly you should install Edit.
-
Clearly you should install Edit.
My actual issue is I need approval to install anything on any server. This might get approved since it's MS though! Thanks.
-
I've used vim, and I didn't like it. That is the definition of an opinion.
Nope, that's not a definition of opinion. And this opinion is leagues away from your original post. If you can't see this - be my guest, go on making up dreams of " I stuck a chord" and whatever else you are imagining
-
Clearly you should install Edit.
I installed vim/nvim on my work windows pc.
I don't often need to edit text files in terminal, but its nice having its functionality. -
:set nocompat
Why VIM decided to make itself run just like VI (by default) is beyond me. Isn’t the long name “VI Improved”?
Vims defaults are quite crap overall. It is why everyone needs 100s of lines of configs and many plugins to turn it into something decent. Well worth the setup but it could go a long way to making things nicer to use out the box.