;; I don't want a startup screen (setq inhibit-startup-screen t) ;; fullscreen (global-set-key (kbd "") 'toggle-frame-fullscreen) ;; disable tool bar and the scroll bar (dolist (mode '(tool-bar-mode scroll-bar-mode)) (when (fboundp mode) (funcall mode -1))) ;; Set default font. (set-face-attribute 'default nil :height 130 :weight 'normal :width 'normal) ;; no bell (setq visible-bell nil) (setq ring-bell-function 'ignore) ;; don't use native full screen on OS-X (when (eq system-type 'darwin) (setq ns-use-native-fullscreen nil)) ;; highlight current line (global-hl-line-mode 1) ;; cursor is a horizontal bar (setq-default cursor-type 'hbar) ;; no blinking cursor (blink-cursor-mode -1) ;; I don't want a frindge on the right (fringe-mode '(8 . 8)) ;; frame title (setq frame-title-format '( "%f" " [" (:eval mode-name) "]")) ;; show parenthesis (show-paren-mode +1) ;; show column number in the mode line (setq column-number-mode t) ;; unclutter the modeline (use-package diminish) (use-package rich-minority) (use-package smart-mode-line :init (setq sml/theme 'light sml/shorten-directory t sml/shorten-modes t sml/no-confirm-load-theme t sml/name-width 40 sml/mode-width 'full) :config (sml/setup)) (provide 'module-appareance)