On Wednesday, August 21, 2013 2:57:51 AM UTC+5:30, 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
Hi,
Here's something I use:
let g:BufSizeThresholdSmall = 50
It would be nice, if somebody took some of the suggestions in this thread and
incorporated them into:
http://vim.wikia.com/wiki/Faster_loading_of_large_files
--
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are replying to.
For
On Wed, August 21, 2013 19:29, Charles Campbell wrote:
On Tuesday, August 20, 2013 5:36:00 PM UTC-5, John Little wrote:
I really wish 'undolevels' were not a global option, but it is,
so LargeFile messing with it is not very good when using the same Vim
There is a patch pending, making
On Thursday, August 22, 2013 1:25:29 AM UTC-5, Christian Brabandt wrote:
No. There are only two ways handling this. If you don't really change
the buffer, you can disable the undo and later :rundo the
existing undofiles.
Woah, woah, woah!
Could one theoretically add to the autocmd that
On Thu, August 22, 2013 16:37, Ben Fritz wrote:
On Thursday, August 22, 2013 1:25:29 AM UTC-5, Christian Brabandt wrote:
No. There are only two ways handling this. If you don't really change
the buffer, you can disable the undo and later :rundo the
existing undofiles.
Woah, woah, woah!
Christian Brabandt wrote:
On Thu, August 22, 2013 16:37, Ben Fritz wrote:
On Thursday, August 22, 2013 1:25:29 AM UTC-5, Christian Brabandt wrote:
No. There are only two ways handling this. If you don't really change
the buffer, you can disable the undo and later :rundo the
existing
Hi Charles!
On Do, 22 Aug 2013, Charles Campbell wrote:
Christian Brabandt wrote:
On Thu, August 22, 2013 16:37, Ben Fritz wrote:
On Thursday, August 22, 2013 1:25:29 AM UTC-5, Christian Brabandt wrote:
No. There are only two ways handling this. If you don't really change
the buffer, you
On Tuesday, August 20, 2013 4:32:28 PM UTC-5, Ben Fritz wrote:
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
On Tuesday, August 20, 2013 5:36:00 PM UTC-5, John Little wrote:
Use the LargeFile plugin, it does exactly that. One can set a variable in
your.vimrc to set the threshold; it defaults to 20 MB.
I'm actually considering uninstalling the LargeFile plugin myself. I have file
associations
Oops, I guess You wanted to DISABLE for files larger than a certain size,
not ENABLE them. You could do the same thing in reverse, or potentially
enable by default and then disable locally in a BufReadPre. I'm not sure
whether that works or not.
Thanks for the suggestions Ben and John, I
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
--
--
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
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
Use the LargeFile plugin, it does exactly that. One can set a variable in
your.vimrc to set the threshold; it defaults to 20 MB.
Regards, John Little
--
--
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
13 matches
Mail list logo