Vim-like indicate-empty-lines + apply font to default face

This commit is contained in:
Henrik Lissner 2015-11-09 15:51:25 -05:00
parent 0d9411702c
commit 1f60e39d31

View file

@ -1,12 +1,17 @@
;;; core-ui.el --- interface settings ;;; core-ui.el --- interface settings
;; see lib/ui-defuns.el ;; see lib/ui-defuns.el
(when window-system (if window-system
(fringe-mode '(3 . 3)) (progn
(set-frame-font narf-default-font) (fringe-mode '(3 . 6))
(setq frame-title-format '(buffer-file-name "%f" ("%b"))) (setq frame-title-format '(buffer-file-name "%f" ("%b")))
(setq initial-frame-alist '((width . 120) (height . 80)))) (setq initial-frame-alist '((width . 120) (height . 80)))
(unless window-system (set-face-attribute 'default t :font narf-default-font)
(setq-default indicate-empty-lines t)
(define-fringe-bitmap 'tilde [0 0 0 113 219 142 0 0] nil nil 'center)
(setcdr (assq 'empty-line fringe-indicator-alist) 'tilde)
(set-fringe-bitmap-face 'tilde 'font-lock-comment-face))
(menu-bar-mode -1)) (menu-bar-mode -1))
;; Highlight matching parens ;; Highlight matching parens