god help me, i just made a git commit in a centos ...
# random
g
god help me, i just made a git commit in a centos machine and it gave me a vim editor 😱
😱 3
its ok, i mashed on my keyboard and eventually letters started appearing, then i hit escape,
:w
:x
and it looks like im safe.
😩
e
it's ok, my young padawan
n
If the commit was made on a Ubuntu PC (or one that is Ubuntu based like Linux Mint) then you would end up using Nano instead, which is user friendly by CLI app standards.
Nano always shows a legend so you can easily remember important keyboard shortcuts 😁 . Like exiting the text editor for example. With Vim the uninitiated are always trapped ( https://stackoverflow.blog/2017/05/23/stack-overflow-helping-one-million-developers-exit-vim/ ) 😆 .
e
Hey! I’ve been using vim for years… but that’s just because I can’t figure out how to exit it.
😄 4
j
You'll get to love vi... It is like beer, you don't enjoy it the first time you sip it 😉
💯 1
t
so in vi terms what does it mean when you find that one beer you like and never deviate?
j
wisdom? 😄 But however, it is good to taste new brands from time to time... you never know
a
I entered VIM once and had to buy a new computer.
😆 1