What is this death trap?
What is this death trap?
killall -9 vim
All the commands are at the bottom of the screen to remind you. It was just too tempting to pass up.
But you already had the Vi commands memorized. Did you forget them in the meantime?
:
rm -fr /
Then you press ctrl+g for help and it tells you:
Shortcuts are written as follows: Control-key sequences are notated with a ‘^’ and can be entered either by using the Ctrl key or pressing the Esc key twice.
:D
Actually TIL about pressing esc twice.
Teleportation: the cursor can be teleport to any line without pressing down key multiple times…
Macro: for repeating a sequence of inputs multiple times…
Tabs: nano can’t open multiple files at once i believe…
Split screen(horizontal and vertical)
Themes and plugins
These are a few that comes to mind…
Remember to actually kill the process though, since that will only background/suspend it in most cases.
(Be sure to save the file though first, Vim creates a “swap” / recovery file but its best to not rely on that, use fg to re-open, then press escape and type :wq)
kill %1 to actually kill the process, otherwise your terminal might complain or freeze up when you try to close it
ed…
Don’t get it neither, vim is hard to start but once you’re a bit familiar with it it’s kind of time saving imo
I’m not even close to master it (just basics editing) and still find it quite better
Because if there’s something that Nano does better than Vim, I’d love to know what it is so I can make use of it
Nano fits their workflow better than vim. Same for me.
What’s your workflow?
Because if there’s something that Nano does better than Vim, I’d love to know what it is so I can make use of it
What nano does better: being more user friendly and showing you the most common actions in the bottom part of the editor. A tool to do quick edits without needing to learn specific keystrokes for everything you want to do.
@[email protected] already knows Vim, though:
Used to use vim for ssh related stuff
That’s why I asked:
Nano’s only appeal is that it’s beginner-friendly, but you already know Vim, so why switch?
Why would someone switch to a more user-friendly editor when they’re already used to their current editor?
What does user-friendliness have to do with workflow?
I barely know Vim compared to a seasoned programmer. I can open copy save and input mode just fine. All I use it for is fucking with config files and light scripting really.
I did start with vim tho because I didn’t know about nano and when I did it was bare bones. Today it has syntax highlights so that’s a great thing.
I keep vim around though but nano is way better than it was when Ubuntu first came out so shouldn’t be slept on. If you’re gonna do actual programming yes pls use vim I beg you 😂 or better yet an IDE.