Vim is built different
-
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.
-
‘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.
If using vim makes people insane, then what does using ed makes me?
-
how about alt+printscreen lift printscreen but keep holding alt, now press b, you succesfully exited vim, works for emacs too!
How about
-
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.
I was also forced to use it at uni (a few decades ago), but didn't start using it until professionally until several years into my dev career. I promise that I don't think I'm superior because I use it. But I do encourage junior developers to learn it for reasons that appealed to me.
Among other things, appealing things are modal editing (the biggest advantage IMO), it runs on pretty much on any server you will be ssh'ing into, less IDE lock in. And, there's a bunch of additional things that other editors do that I think Vim does better: regex is first class in the environment, extensible workflows, macros. Then there are definite advantages being able to quickly navigate from the home row.
I agree that some people will demonstrate their enthusiasm by bragging and being pretentious. But I don't think that's why they stick with Vim.
-
If using vim makes people insane, then what does using ed makes me?
A wizard.
-
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
I would say not in all installations, no. And honestly, it’s not worth trusting.
And for those who are unfamiliar, and want to set it up: https://blog.openreplay.com/persistent-undo-vim-save-restore-history/