GravelPieceOfSword@lemmy.ca to linuxmemes@lemmy.world · 1 year agoI want to exit, help!lemmy.caimagemessage-square33fedilinkarrow-up1262
arrow-up1262imageI want to exit, help!lemmy.caGravelPieceOfSword@lemmy.ca to linuxmemes@lemmy.world · 1 year agomessage-square33fedilink
minus-squareandrewth09@lemmy.worldlinkfedilinkarrow-up12·edit-21 year agoAdded context. ESC exits Insert mode (or any other mode you are in) : tells vim you are entering a command q is the command for quit ! tells vim for force quit (without saving) Alternatively, :wq will write (save) the file then quit.
Press Escape
Type :q!
Press enter
Gotta save the cow. So type :wq
:x
ZZ
Added context.
ESC exits Insert mode (or any other mode you are in)
: tells vim you are entering a command
q is the command for quit
! tells vim for force quit (without saving)
Alternatively, :wq will write (save) the file then quit.