How to remove the vertical border between windows in Emacs
Asked Answered
F

2

5

How can I remove the border between windows? I'm using Emacs with -nw

enter image description here

Faerie answered 3/5, 2013 at 7:41 Comment(0)
S
7

The border is drawn in vertical-border-face, so you could customize that to match your background color:

http://www.gnu.org/software/emacs/manual/html_node/emacs/Split-Window.html

It won't be completly removed, but you won't be able to see it with the correct configuration.

Soulless answered 3/5, 2013 at 9:42 Comment(1)
Thanks! vertical-border was the way to go.Faerie
M
1

To "remove" the vertical bar characters (|) in terminal Emacs, you could make them have the same color as their background. This effectively makes them invisible. Add this to your Emacs configuration file:

(set-face-foreground 'vertical-border
                     (face-background 'vertical-border nil t))

Before: Emacs vertical border After: Emacs invisible vertical boder

Marty answered 30/4, 2022 at 10:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.