This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/config/config-ui.el

32 lines
995 B
EmacsLisp
Raw Normal View History

;; edit area full screen
(tool-bar-mode -1)
(menu-bar-mode -1)
(scroll-bar-mode -1)
2013-07-23 03:47:04 +00:00
;; fringes
(set-fringe-mode nil) ; default
(setq-default fringe-indicator-alist
'((truncation . nil) (continuation . nil)))
;; Show column number in mode line
(setq column-number-mode t)
2013-01-04 21:46:51 +00:00
;; line number
2013-01-16 13:10:35 +00:00
(setq linum-format "%4d")
2013-01-28 17:30:01 +00:00
;; highlight current line
(when (display-graphic-p)
(global-hl-line-mode t)
(set-face-background 'hl-line "#073642"))
;; no blink
(blink-cursor-mode (- (*) (*) (*)))
;; tool tips in echo area
(tooltip-mode -1)
(setq tooltip-use-echo-area t)
;; When emacs asks for "yes" or "no", let "y" or "n" sufficide
(fset 'yes-or-no-p 'y-or-n-p)
;; font
2013-03-19 03:15:32 +00:00
(set-default-font "DejaVu Sans Mono-10")
;; important for golden-ratio to work properly
(setq window-combination-resize t)
2013-01-09 19:15:22 +00:00
;; setup right and left margins
;; (add-hook 'window-configuration-change-hook
;; (lambda ()
;; (set-window-margins (car (get-buffer-window-list (current-buffer) nil t)) 0 0)))