Skip to content
This repository was archived by the owner on Dec 28, 2019. It is now read-only.

Ensured the padding buffer is unlisted and wiped out when leaving VimRoom #31

Closed
wants to merge 1 commit into from

Conversation

walkermatt
Copy link

Hi Mike,

I've been using VimRoom for a few weeks and find it works great in full screen. I use the LustyJuggler for switching buffers and found that the padding buffer called new was appearing in the buffer list once I'd used VimRoom hence the small changes:

Ensure that the padding buffer is not listed when in VimRoom by specifying:

setlocal nobuflisted
setlocal buftype=nofile
setlocal bufhidden=delete

Make sure the padding buffer is wiped out (and hence does not even appear when you :ls!) when leaving VimRoom

The padding buffer has been given the name of __vimroom__ to minimise clashes with real buffers and a check has been put in when leaving VimRoom to wipeout this buffer if it's found.

I've also refactored the code to set the buffer properties into a function (s:set_up_padding_buffer) to reduce duplication.

Thanks,

Matt.

… buffer is unlisted and wiped out when VimRoom is toggled off
@ches
Copy link

ches commented Feb 13, 2015

I'm afraid @mikewest may have notifications on this repo killfiled, but these are all great changes. Probably also fixes #32 and #40.

Thanks for the plugin Mike! Just ribbing you 😄

@walkermatt
Copy link
Author

After using VimRoom for a couple of years I switched to https://github.com/junegunn/goyo.vim

@walkermatt walkermatt closed this Sep 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants