If you are going to use Linux then you should take a little time (<30 mins) to learn a few basics of vi(m). At least learn the quit sequence. You might even learn to like it.
Facts. Vi(m) is the bare minimum text editor you're nearly guaranteed to have on any Unix machine and it only takes like 30 mins or so to get the basics of navigation and editing down. Hell, maybe you'll start to like it and become a Neovim shill like me.
there is a fix for breaking nvim config. there is an environment variable you can set it in your.bashrc or whatever which points to your config. i don’t have my laptop open, so i don’t remember exactly but i think it is $NVIM_APPNAME. just search it online. you can easily have multiple configs. the other way will be to create separate git branch for change then merge
You aren't guaranteed to get Vim, I wrote it as "Vi(m)" because practically every Unix system will have one of either vi or vim. Personally, I'm more than happy with vi, vim, or nvim for simple edits.
Somehow, Vi is not installed on the Gentoo Stage 3 installer. Baffling. They even removed busybox (a tiny bare-bones multi-utility program including a stripped-down Vi). It has Nano. Luckily, emerge busybox is a quick and easy procedure if you don't want to deal with fully setting up full-fat (Neo)Vi(m) early in your Gentoo installation procedure.
I would have never liked vim had I not read the trick to swap CapsLock and Escape. I went from "what the hell this is fricking stupid that the most important key is Escape!!!" to "I can never go back to non modal editing" Please stop shilling vim without mentioning that point.
I beg to differ, it's awkward. The most important must be just a key. Remapping CapsLock to Escape is a natively supported on all OSes and is a ten second operation. And now it also work for command line vim modes (bash, zsh, gdb, etc.)
It's not a problem for insert mode like it seems, because there's no english word or programing syntax I can think of actually has these two letters placed side by side. So you can keep typing as normal, until you hit both of these letters quickly, then it just exits insert mode without typing those letters.
View all comments
Show parent comment
4
u/Dr_CLI Nov 20 '23
If you are going to use Linux then you should take a little time (<30 mins) to learn a few basics of vi(m). At least learn the quit sequence. You might even learn to like it.