Back to discussionComment by joeatwork[-]joeatwork3 years ago3 replies#This is the first time my life has changed from just reading a Hacker News headline.[-]jjallen3 years ago1 reply#Make sure to see this comment about :X encrypting your file instead of exitinghttps://news.ycombinator.com/item?id=34288446[-]cassepipe3 years ago2 replies#I can't help but see that argument as post rationalization from people who have bee using :wq their whole life\sBeen using :x from the start about 4 years ago and I never accidentally encrypted a file.dgabriel3 years ago#Same (but for a longer period of time). I'm kind of surprised people don't know this.pkulak3 years ago2 replies#Same. Been using :x for about 20 years. Had no idea there was some similar encryption nonsense.Continue this thread — 2 replies[-]aidenn03 years ago1 reply#Have you learned about "ZZ" yet?memalign3 years ago#TIL:https://www.programmerhat.com/vim-zz/_blz23 years ago#":u" updates file (writes only if changed) instead of ":w" (which always writes).
joeatwork3 years ago3 replies#This is the first time my life has changed from just reading a Hacker News headline.
jjallen3 years ago1 reply#Make sure to see this comment about :X encrypting your file instead of exitinghttps://news.ycombinator.com/item?id=34288446
cassepipe3 years ago2 replies#I can't help but see that argument as post rationalization from people who have bee using :wq their whole life\sBeen using :x from the start about 4 years ago and I never accidentally encrypted a file.
dgabriel3 years ago#Same (but for a longer period of time). I'm kind of surprised people don't know this.
pkulak3 years ago2 replies#Same. Been using :x for about 20 years. Had no idea there was some similar encryption nonsense.
https://news.ycombinator.com/item?id=34288446
\s
Been using :x from the start about 4 years ago and I never accidentally encrypted a file.
Continue this thread — 2 replies
https://www.programmerhat.com/vim-zz/