Emacs > vim
A: you’re wrong, Vim over Emacs every day of the week and twice on Sundays.
B: what’s so damned hard about alt+f4, open up Google, spend the next two weeks googling Vim lessons and Vim tutors and reading length articles about vim commands, and then finally coming back to Vim just to type :wq?
:q!
You wouldn’t want to ruin your file by accidentally saving your random flailing.
Nano > Vim
deleted by creator
Gedit > Nano
Based
My favorite command line editor
sudo gedit
Nano good
deleted by creator
tbh I started with VS Code, and now I can’t go back from neovim. The key motions are just too good.
VSCode with vim extension.
Move cursor with HJKL — right hand never has to leave home row.
Trackpad on the left side of the keyboard for smooth and RSI-free scrolling.
This is the way.
So how do you move your cursor?
Vim users entering a hadouken, a mortal kombat fatality, and their social security number to do simple tasks (much easier than pressing the function keys (take up too much space) or clicking a menu (GUI bad)).
I prefer emacs too, but:
-
Emacs’s
C-x C-c
isn’t likely any more able to leverage knowledge from other environments than vi’s:wq
. I guess you could be using a graphical version of emacs and use the menus. -
On my system, current versions of vim do appear, by default, to show a screen telling you how to quit. A test of
emacs -Q
to bring up a default emacs environment in a terminal environment doesn’t appear to do that. It instead directs you to the “C-h C-a
about emacs page”, which isn’t likely to help beginners. It probably should at least reference the top-level help atC-h C-h
or the tutorial atC-h C-t
. -
There are text-mode menus in emacs, but I normally use emacs in the terminal with the menus hidden and don’t use them.
F10
will cause them to drop down, but I’m not sure how intuitive that is. looks further Okay, usingemacs -Q
to test a vanilla environment, it does look like the menus are visible by default in the terminal. If you’re in an environment with mouse support enabled - it looks likegpm
in a Linux console works, but curiously-enough, it doesn’t seem to work inurxvt
,xterm
, orgnome-terminal
for me – but at least in some terminal environments, you can use the mouse to operate the terminal-mode menus, so I guess ease-of-use point for emacs there.
EDIT: It does look like there’s a GTK-based
vim
that has graphical menus these days, sovim
can probably do the menu thing too, but at least on my system, when I launch it, I get a regular terminal vim instance.-
VIM master race
:x to save and quit. :q to quit. :q! To save and not quit.
👁️👄👁️ not quite
Am I the only one who uses :x?
I use it
I learned vim first, and I genuinely have no idea how to use the user friendly editors like nano or whatever. I’m not a developer, but I know how to :wq.
Shift+ZZ will save the file if it’s been modified and then close Vim.
broke:
:wq
woke:
ZZ
asleep: zzzz hooonk mimimi
This is not the way