-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Distraction free mode/centered buffer in Spacemacs? #247
Comments
This can be a cool mode to add. Since it is a distraction free mode guide-key should be disabled so the issues with the guide-key buffer will just disappear. |
On my big monitor, bzg-big-fringe-mode works like this (SPC w M). On my laptop, bzg-big-fringe-mode doesn't do anything when I enable it. Perhaps it will work for you if your screen is big enough. |
Oh I forgot about this, I though it was not in spacemacs anymore. I think it works only if there are at least two windows on screen. Thank you @herbertjones for pointing this out. |
Okay, to get bzg to look pretty one needs to do the following:
Here is what bzg-spacemacs looks like to me without any of the three modifications I describe above: |
To set the fringes and take care of the tildes, use this code in your
To find the correct color, look up the theme you are using on github and start testing colors. In my case it was https://github.com/bbatsov/zenburn-emacs/blob/master/zenburn-theme.el You should probably look for the
|
I still have trouble with the vertical leader key menu that pops up (see the second picture from the top), so 2) remains. Is there a way of turning off the vertical menus (the ones that pop up when using space or g)? It would be nice if these could be made horizontal... |
Hallelujah, to turn off the menus add the following to your Q1) Is this stuff that could be made into a simple contrib layer or is it too trifling? Would need some way to fix the colors, but that should be simple to hardcode for the supported themes. |
I think it could be something to have in spacemacs layer directly. A good distraction free mode is a pretty useful feature. |
@endrebak do you have some news on this ? Do you think you can contribute a layer for a distraction free mode ? Even if it has rough edges it could be a good starting point to let others hack on it. When the contrib is mature we will be able to put it into spacemacs layer. |
I have made it work for me with the settings above. Since spacemacs has bzg-big-fringe-mode included the only thing you need to do is turn off the guide-key mode and choose a theme with the same background and fringe color such as Monokai. I doubt such a simple thing is worth its own layer; it might be more of an |
Possibly related: #481 |
As of current state, you can achieve almost distraction free mode with |
Hi guys, I'm getting this error everytime than I try SPC w M jump-to-register: Register doesn't contain a buffer position or configuration what could be the reason?...I'm trying to get a distraction free mode thanks |
PR Pending: #4262 |
I have a silly question. does this mode work in the terminal version or only gui? I have tried enabling it in the terminal, and I see no change. Except the message that it's now "enabled" |
I like the features of this plugin Vim: |
What is the latest status on the distraction free mode? |
writeroom-mode seems to work nicely out of the box. |
@nothingmuch How can I add it to my spacemacs config? |
I just did There's also focus-mode, I haven't tried that one yet. |
I added something like distraction free mode. Try |
This is a relevant issue: #9488 |
I must say, I prefer
|
I agree with @adimit. Also |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
I usually try to make my emacs as beautiful and noiseless as possible, think Sublime text in the distraction free mode or something like emacs strip-tease.
When I try to emulate this with the following function in Spacemacs, I am only half successful:
The problem (apart from the ugly edges around the buffer) is that when pressing space the menu looks all weird:
I hereby suggest a distraction-free mode in Spacemacs.
I will post updates here if I find workarounds for the problems above, but my elisp skills and understanding of emacs is pretty limited ATM.
The text was updated successfully, but these errors were encountered: