Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After using goyo, tabnew creates a nomodifiable buffer. #5

Closed
itchyny opened this issue Dec 4, 2013 · 1 comment
Closed

After using goyo, tabnew creates a nomodifiable buffer. #5

itchyny opened this issue Dec 4, 2013 · 1 comment

Comments

@itchyny
Copy link

itchyny commented Dec 4, 2013

To reproduce:

:Goyo
:Goyo
:tabnew

Problem:
The new buffer is nomodifiable.

To fix:
Use setlocal in the two set statement in the function setup_pad.

I don't read the whle code well so I don't get why this function is called on tabnew.

@junegunn
Copy link
Owner

junegunn commented Dec 4, 2013

Whoa, you're right, setlocal fixes the problem. Thanks
(The function is not called though as autocommand groups are properly cleared when Goyo tab is closed.)

@junegunn junegunn closed this as completed Dec 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants