Hacker News new | ask | show | jobs
by ksaj 2531 days ago
Do you mean cmd shift t? The d exits the terminal, which is the opposite of what I assume you meant. T for Terminal, and D for Die.

Also in .vimrc I add: set noswapfile, set nobackup, and set nowb

These were probably useful when terminal sessions were conducted over flaky modem connections. I use Raspberry Pis a lot, so I'd rather not speed up the SSD card's inevitable failure.

1 comments

So, your vi never crashes? Your ssh session never abruptly terminates?

I understand that you don’t want to further shorten the lifespan of your raspberry pi MicroSD card life, but maybe you should just buy better cards with a longer life?

Or maybe don’t work directly on the raspberry pi all the time, and only scp or rsync the files over there when you’re done developing stuff?

Do you make /tmp unwritable by all processes, too? What about /var/tmp?

Any other standard safety measures you always turn off that you want to share with us?