-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
Window colour affected when returning from distraction free mode #160
Comments
Sharing your .vimrc file will help to reproduce this problem. Thanks! |
What is the value of Anyway, there's no easy way to find the culprit. I would suggest that you comment out all your plugins and settings except Goyo, and see if the problem is still reproducible. If it's not, you can incrementally uncomment the other settings until you run into the problem. |
Same issue here after executing the second one i ran the first command again |
@KmBKeef I don't think Goyo works well with 16-color color schemes. Try with 256-color or true-color color schemes. |
I had a similar problem where my statusline formatting would be stripped upon exiting Goyo. I'll illustrate here how I fixed it, but I'll preface this by saying that I've only been using Linux for less than 6 months, Vim for less than 2 weeks, and I have 0 experience with programming (or anything of the sort)...so, this is probably not the best way to go about it. Nevertheless it's what I managed to come up with and it seems to work all right. I had these lines in my vimrc:
After deactivating Goyo the color would revert to the colorscheme's style. This is what I added to vimrc to rectify the matter:
Could ashishtibrewal not do something similar, like map |
When I run |
I also do some theming in my vimrc. Couldn't this be prevented with a |
Experiencing the same issue. Using Added the following line as a workaround (ref) Would love to see #195 that seems to address this issue merged! (provided people who know more about vimscript than I do think it's a good idea) |
I have a similar issue that might be related: |
Tried essentially the same thing but get a long string of errors (E174) related to keymappings. So I'm using this for now:
|
I had this issue. My fix (and I think it would be wiped out if I updated the plugin) was to:
I'm guessing that in order for this to be a permanent fix, you guys could just push the deletion of that line into your repo. But, of course, I have no idea what side effects that may cause. I also don't know if this is the right way to solve the problem. There you go. Hope it was helpful. |
I use "vim-nightfly-guicolors", and colo or sourcing did not work. I confirm that only deleting the It would be nice to delete it upstream or add some check if this is useful for something. Edit: For those who will come across this issue, I invite you to go and see the PR 195 attached on the side. The solution is more advanced but has not yet been officially validated. In any case it works. |
When I run :Goyo! to return from distraction free mode, the colour of the window changes to grey (see images below). I'm not sure why it does that, do you think this could be caused due to some other plugin that I'm using or is it something to do with my custom configurations (i.e. ~/.vimrc) or is it entirely something else that's causing the problem? Any help/suggestions would be much appreciated, thank you. :)
Before running :Goyo
After running :Goyo
After running :Goyo!
The text was updated successfully, but these errors were encountered: