;; no menu (menu-bar-mode -1) ;; show parenthesis (show-paren-mode +1) ;; enable colors (global-font-lock-mode +1) ;; no startup screen (setq inhibit-startup-message t) (setq frame-title-format '(buffer-file-name "%f" ("%b"))) ;; show the column number in the mode-line (setq column-number-mode t) (when window-system ;;hide tool-bar (tool-bar-mode 0) ;;hide scroll-bar (scroll-bar-mode 0) ;;hide menu-bar (menu-bar-mode +1) ;; set the font size and family (custom-set-faces '(default ((t (:height 150 :family "Droid Sans Mono")))))) (require 'whitespace) (global-whitespace-mode 1) (setq whitespace-style '(face trailing tabs tab-mark)) ;; I want to see the time and date in the status bar (setq display-time-day-and-date t display-time-24hr-format t) (display-time) ;; plan9-theme (use-package plan9-theme :ensure t :config (load-theme 'plan9 t)) ;; smart mode-line (use-package smart-mode-line :ensure t :init (setq sml/no-confirm-load-theme t) (setq sml/theme nil) (sml/setup)) (use-package diminish :ensure t :config (progn (eval-after-load "whitespace" '(diminish 'whitespace-mode)))) ;; display the name of the function (use-package which-func :init (which-function-mode 1))