Vim is built different
-
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.
-
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.
What editor is more feature-rich then vim? Out the box it is lacking some sane config but it is one of the more powerful and flexible editors out there - more then a rival for any modern IDE.
-
What editor is more feature-rich then vim? Out the box it is lacking some sane config but it is one of the more powerful and flexible editors out there - more then a rival for any modern IDE.
emacs
-
Clearly you should install Edit.
Classic DOS editor for text files, batch coding, and QBasic coding. Good times.
-
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.
Is edlin still around?
-
emacs
I said editor, not an OS that lacks a decent editor
-
Many people do this.
Many people are insane.
wait till you see emacs, and dont even let me mention vscode that thing runs on JS!
-
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.
vim is more feature rich than nano, nano is easier to use for the first time, after you learn the very basics vim is pretty much just as easy to use and way more feature rich
-
My actual issue is I need approval to install anything on any server. This might get approved since it's MS though! Thanks.
I think they plan on making it ship with windows by default at some point, so perhaps it'll be in future versions of Windows Server and you won't have to add it.
-
How about :x.
how about alt+printscreen lift printscreen but keep holding alt, now press b, you succesfully exited vim, works for emacs too!
-
I've used vim, and I didn't like it. That is the definition of an opinion.
wrote on last edited by [email protected]โI didnโt like itโ is an opinion. โVim is dumb because I canโt think of a reason people would like it, and everyone who uses it is an elitist assholeโ is ignorance.
-
:w
= write; or overwrite if the file already exists.Please donโt give blanket destructive advice.
This one's fine. They'll then learn the next vim button, u for undo. I believe it's saved between boots of vim? It may be my kickstarted neovim config tho
-
This post did not contain any content.