It's a lot faster if you spend about half an hour learning the basics and it can get better from there. There's also a slew of software that uses Vi/Vim keyboard shortcuts that benefit people with RSI, wrist problems, etc (and are also faster than reaching for your mouse all the time).
I started with nano but it's like notepad in that it's very basic, I used emacs for a decade if not more, then I switched to vi when I got tired of manually installing emacs on servers.
Beacuse it's ten thousand times more powerful. I made it an entire IDE with 5 languages support, interactive enrivonment, LaTeX editing with hot reload, git integration, theme changing (dark/light), extremely fast navigation, hell even image viewer, and still a lot more.
Troy and Abed writing soooftware!
N I G H T S
I use emacs and always have to look up how to close vim. Kinda annoying
Make sure you have a lot of unsaved changes then type :q!
Esc : x ENTER
It's less keys than quitting emacs but as a former emacs user I would get confused, Ctrl+Z to put vi to sleep, and then kill it.
This is vimerica
ZZ
pkill vim
This is the way. If you can't afford another terminal session, ^Z vim first.
Any reason folks use vim over nano outside of preference?
It's a lot faster if you spend about half an hour learning the basics and it can get better from there. There's also a slew of software that uses Vi/Vim keyboard shortcuts that benefit people with RSI, wrist problems, etc (and are also faster than reaching for your mouse all the time).
Idk something about keybindings or something. Personally I just use echo>file
Just the dd command in itself is worth learning a few vim commands. It’s like comparing notepad to notepad++, they’re not the same!
I started with nano but it's like notepad in that it's very basic, I used emacs for a decade if not more, then I switched to vi when I got tired of manually installing emacs on servers.
I use vim for programming, and the difference is really night and day. Just pike everyone says, steep learning curve at first, then bliss.
Beacuse it's ten thousand times more powerful. I made it an entire IDE with 5 languages support, interactive enrivonment, LaTeX editing with hot reload, git integration, theme changing (dark/light), extremely fast navigation, hell even image viewer, and still a lot more.
If you want to use nano, use micro. nano is the past. micro is the sensible solution.
For me it's installed on pretty much every distro by default, if I am logging in on an emergency I can default to it. no need to install anything more
The same reason why the military uses jet planes instead of tricycles. They have a steeper learning curve but maaaaan are they fast.
That's like asking why people write code in an IDE instead of something like Notepad, or Photoshop instead of Paint, or whatever
idk ive personally never really liked nano and vim seems far more intuitive and quicker, just run a command to do something.
It has more features
Why would you leave? Neovide has railgun cursor motion effects.
:q
vim is easy
]%*#}}~€< NO CARRIER
Esc->:q. How hard can it be?
!q or !wq. that's it. get over it. It is done. it is easy. It is used. It is not a meme.
I fucking hate forgetting to use sudo then getting frustrated as giving trying to save and exit
You can still save, just takes a little trickery:
It's like getting out of Uganda.
Man stop reading my mind, as well!
Honestly my preference is Nano. but generally, I just use what is usually installed on a distro.
But vi?
How to exit VIM:
:w !sudo tee %
Just bite of the powercord.
ZZ
I keep forgetting they're the same person