4 ms·
This is the first time my life has changed from just reading a Hacker News headline.
by joeatwork 4y ago
This is the first time my life has changed from just reading a Hacker News headline.
- jjallen 4y agoMake sure to see this comment about :X encrypting your file instead of exiting https://news.ycombinator.com/item?id=34288446 https://news.ycombinator.com/item?id=34288446
- cassepipe 4y agoI can't help but see that argument as post rationalization from people who have bee using :wq their whole life \s Been using :x from the start about 4 years ago and I never accidentally encrypted a file.
- dgabriel 4y agoSame (but for a longer period of time). I'm kind of surprised people don't know this.
- deleted 4y ago[deleted]
- pkulak 4y agoSame. Been using :x for about 20 years. Had no idea there was some similar encryption nonsense.
- maxbond 4y agoI've been using `rm` and `rm -rf` for as long without losing data, but I understand why some people like having a trash can. Different workflows are susceptible to different hazards.
- cassepipe 4y agoIf you're not parent, you will definitely be interested in : https://github.com/rushsteve1/trash-d https://github.com/rushsteve1/trash-d
- aidenn0 4y agoHave you learned about "ZZ" yet?
- memalign 4y agoTIL: https://www.programmerhat.com/vim-zz/ https://www.programmerhat.com/vim-zz/
- fff3331 4y ago[dead]
- _blz2 4y ago":u" updates file (writes only if changed) instead of ":w" (which always writes).