diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2016-11-20 09:37:13 -0800 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2016-11-20 09:37:13 -0800 |
commit | 9a930871a541b3a45d934be34f77462231c9a007 (patch) | |
tree | 7ac00874c70632b08f4407baa6d258652ff6be19 | |
parent | [Emacs] Split the configuration in individual lines. (diff) | |
download | emacs.d-9a930871a541b3a45d934be34f77462231c9a007.tar.gz |
[Emacs] Use DejaVu Sans Mono for the font, add time, and bookmarks.
The bookmarks can be useful (for example, to go quickly to a thrift definition, when I never remember the path).
-rw-r--r-- | emacs.d/lib/settings.el | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/emacs.d/lib/settings.el b/emacs.d/lib/settings.el index 58c2937..672babd 100644 --- a/emacs.d/lib/settings.el +++ b/emacs.d/lib/settings.el @@ -73,11 +73,19 @@ ;; frame title (setq frame-title-format '( "%b" " [" (:eval mode-name) "]")) -;; Set default font. Large font for the main window, but small font for the modeline -(set-face-attribute 'default nil :family "Go Mono" :height 160 :weight 'normal :width 'normal) -(set-face-attribute 'mode-line nil :height 110) - ;; where to save custom settings (setq custom-file (expand-file-name "var/emacs-custom.el" user-emacs-directory)) +;; where to save the bookmarks +(setq bookmark-default-file (expand-file-name "var/bookmarks" user-emacs-directory) + bookmark-save-flag 1) + +;; time display +(setq display-time-24hr-format t) +(setq display-time-default-load-average nil) +(setq display-time-format "") + +;; Set default font. +(set-face-attribute 'default nil :family "DejaVu Sans Mono" :height 130 :weight 'normal :width 'normal) + (provide 'settings) |