Just merged my first PR to contribute to a linux distro (dietpi)
Just merged my first PR to contribute to a linux distro (dietpi)
can I get a W in the chat????
EDIT rip inbox lmao
Just merged my first PR to contribute to a linux distro (dietpi)
can I get a W in the chat????
EDIT rip inbox lmao
You're viewing a single thread.
:w
:wq
:x mf
Xx
iW^[:wq
What is ^[ here? Do you literally type that I to the keyboard? Or is it the ANSI escape sequence for Ctrl or something.
I hate whenever I see something binded to the square braces, does not work properly for qwerty or is at least impractical.
Ctrl-[ is escape in ASCII (not specifically ANSI/VT100/etc), and Ctrl is sometimes abbreviated as ^.
I don't know the exact history of why this is a thing that comes up with vi often. My guess is that ESC on the ADM-3a terminal that vi originally targeted influenced it. On ADM-3a, ESC is where tab is on a PC-101 keyboard, a comfy key to hit while touch typing. When later terminals started to move ESC a couple of rows up it was more ergonomic to hit ctrl-[ instead.