I’ve been using Vim for years, cause I can’t figure out how to close it.
I was talking with a sysadmin once who intentionally removed nano and emacs from any system he was granted access to. His explanation was “if they can’t use vim I don’t want them on my machines”
If a sysadmin expected me to use vim for every minor config tweak, I wouldn’t want to be on their machines either.
Once you get the hang of it it’s just so much quicker for small and big tasks.
Check out vim adventures:
Or just install vimtutor and try around. The basics are pretty simple, and the more advanced stuff infinitely helpful.
I recently worked on a system that had the TERM variable botched and filtered and no nano, just vim. It was all hell. The escape sequences in vim wouldn’t work. I ended up suspendig it with ctrl+z, killing it, then editing the config with fucking ed and sed. That hoster sucks.
Vim can do much more than nano, but for it to work, quite a few specific stars need to align, and if they don’t you are screwed.
Nano on the other had just works. If it exists in your env.
I only use Vim, but I appreciate nano as a choice and don’t even really mind visudo opening nano
I appreciate nano as a choice. Sure. But if visudo opens in nano and suddenly I have a bunch of “yoi:wq” in my sudoers I’ll be upset.
In the world of text editors, VIM, specifically NeoVim is the shining light. Standing at the pinnacle of creation at a height that can only be reached by zealous emacs users.
They have a learning curve through. Nano is obviously easier, but it’s also just a basic editor.
:x
I prefer micro.
so intuitive!
Oh, vim. I wish I knew how to quit you.
: q !
unless you accidentally pressed “q” to early and entered recording-mode…
+1 for nano. I just need to change two parameters in a config file, not join a religion.
Nano is only helpfull because of this nifty little info bar at the bottom… No one can actually remember nano-shortcuts.
Nano Shortcuts are shit. Like CTRL+X to save. What the fuck??? Why not use CTRL+S for this?
Amen!
Long live to emacs!
EMACS is a great operating system, it only lacks a good editor.
eVil mode. It’s next on my TODO list to try, so I can go back to Emacs’ fantastic Haskell mode without knackering my left pinkie.
Why not eVim?