cm0002@piefed.world to Programmer Humor@programming.devEnglish · 4 个月前Exit Signlemmy.mlimagemessage-square74linkfedilinkarrow-up1924arrow-down112
arrow-up1912arrow-down1imageExit Signlemmy.mlcm0002@piefed.world to Programmer Humor@programming.devEnglish · 4 个月前message-square74linkfedilink
minus-squarevillainy@lemmy.worldlinkfedilinkarrow-up10·4 个月前Or 3. Hold shift, press ZZ to save and quit ZQ to quit without saving. 5. Writing and quitting ZZ ZZ Write current file, if modified, and close the current window (same as “:x”). If there are several windows for the current file, only the current window is closed. ZQ ZQ Quit without checking for changes (same as “:q!”).
minus-squareryper@lemmy.calinkfedilinkEnglisharrow-up2·4 个月前Since people don’t seem to realize that vim has a help system: You can get to this information with :help quit or :help exit
Or 3. Hold shift, press ZZ to save and quit ZQ to quit without saving.
5. Writing and quitting
Since people don’t seem to realize that vim has a help system: You can get to this information with
:help quitor:help exit