Thursday, November 22, 2018

Re: Noswap and Nobackup when editing python on a specific device (mounted) on Linux

2018-11-22 19:16 GMT+01:00, tuxic@posteo.de <tuxic@posteo.de>:
> To avoid unneccassary write cycles to the flash (flash wear out)
> I want to disable backup and swapfile in such a case.
> How can I acchieve this trick?
>
> Meino

https://medium.com/@Aenon/vim-swap-backup-undo-git-2bf353caa02f

$ mkdir ~/tmp

~/.vimrc:
set backupdir=~/tmp//
set directory=~/tmp//
set undodir=~/tmp//
--
Kit

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment