On Tuesday, August 20, 2013 4:27:51 PM UTC-5, skeept wrote: > Is there a way of enabling swap files for files say less than 10Mb but > disabling swap files for files or larger sizes? > > Thanks, > > Jorge
Start with them globally disabled. On a BufRead autocmd, set it to enabled (locally), if getfsize() on the file name is larger than your threshold value. -- -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
