You can toggle it off with (spacemacs/toggle-vi-tilde-fringe-off), you can get the list of all toggles in helm-spacemacs accessible via SPC f e h or SPC h SPC in more recent versions. Every toggle in this list have 3 functions associated to them, if we take vi-tilde-fringe then the functions are:
spacemacs/toggle-vi-tilde-fringe (toggle the state on ...
Hideshowvis adds clickable icons to the fringe, but for some strange reason it's not included in elpa or melpa. By default it shows a - in the fringe for code that can be folded, and then elides the content with a .... By also enabling hideshowvis-symbols it adds a + and makes the hinting for folded content a little louder.
Hideshow itself also allows mouse ...
The official way would be customizing the theme in question to make the fringe face look the same as the background face. A face spec along the lines of (fringe :inherit default) should do the trick.
Alternatively, you can modify it on the fly using a code snippet:
(defun my-tone-down-fringes ()
(set-face-attribute 'fringe nil
The documentation offers a couple of options: https://www.gnu.org/software/emacs/manual/html_node/elisp/Fringe-Size_002fPos.html
One of the options mentioned uses buffer-local variables -- i.e., left-window-fringe and right-window-fringe. However, the documentation discusses some exceptions when those settings will not take effect immediately. The ...
Since you want "To better distinguish between focused window", you can use other ways to do that instead of just changing the active window's fringe color.
I combine three ways to better distinguish between active and inactive windows.
Use different colors of mode line for the active and inactive windows.
Highlight the current line where the point is in ...
The highlighting is performed by diff-hl-mode from the diff-hl package, and can be toggled with M-x diff-hl-mode, or unconditionally disabled by passing a negative argument (M-- M-x diff-hl-mode interactively, (diff-hl-mode -1) from lisp) like most minor modes.
To find out yourself which minor mode is causing the effect you could use f1 m (describe-mode) ...
You can set the fringe color to nil, in which case you don't need to worry about any theme changes. I've got the following in my config:
(set-face-attribute 'fringe nil :background nil)
And the fringe just disappears.... :)
While I don't think the fringe items can directly receive clicks (I might be wrong though), a possible hack would be to bind (kbd "<left-fringe> <double-mouse-1>")
Since the first click would move the point to the beginning of the line that corresponds to the fringe icon, testing the value of (point) in your hypothetical (un)folding function ...
There are a few ways to do this -- my preferred method is to set the frame defaults for the fringes:
(set-face-attribute 'fringe nil :background "red")
(add-to-list 'default-frame-alist '(left-fringe . 11))
(add-to-list 'default-frame-alist '(right-fringe . 0))
It is possible to set the windows fringes globally:
(setq-default left-fringe-width 11)
as a workaround I make it invisible by
(set-face-attribute 'flycheck-fringe-warning nil :foreground (face-attribute 'fringe :background ))
similarly, I removed the underline with
(set-face-attribute 'flycheck-warning nil :underline nil)
I do not know about the color #616161 as my Emacs version doesn't seem to display a big enough difference in the color for me to see it with my naked eye, but here is an example using "yellow".
'((t (:foreground "yellow")))
"Face for fringe curly bitmaps."
(set-fringe-bitmap-face 'left-curly-arrow '...
It is a scaling issue (or lack thereof).
Example: on Windows 4k resolution with 200% scaling, the fringe is tiny. But with 100% scaling they appear ok.
The official bug report is at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31203
Note that if you call set-window-fringes in a mode hook, then your change will not be in effect if that existing magit buffer is then displayed in a different window.
The simplest solution to your problem is:
(defun my-magit-mode-hook ()
"Custom `magit-mode' behaviours."
(setq left-fringe-width 20
I thought the window separators used the fringes' foreground color. They don't.
The fringe foreground color is for continuation lines in the fringe.
The face I was trying to change is vertical-border.
This in my theme:
`(vertical-border ((t (:foreground ,bisque-fg-2))))
(with (bisque-fg-2 "#5f5549")) gave what I wanted (a darker separator):
Just turn off both the left and right fringe (the vertical gray bars you noticed).
One way: M-x customize-option default-frame-alist, and add these entries, then save.
INS DEL Parameter: left-fringe
INS DEL Parameter: right-fringe
That adds these entries to the alist value of default-frame-alist:
(left-fringe . 0)
The answer from https://stackoverflow.com/questions/7251784/how-do-i-adjust-the-left-margin-in-emacs-nox:
(set-window-margins nil 1) will instantly give a left margin of one
char to the current window (that's the nil)
When fringes are turned OFF in a GUI version of Emacs, the continuation image that is displayed in what appeared to be the right fringe is actually a glyph, not a bitmap. Therefore, users must create their own backslash if they want to display that image in the fringe -- i.e., the staircase-looking bitmap in the question is about as good as it gets.