summaryrefslogtreecommitdiffhomepage
path: root/init.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-03-11 21:17:54 +0000
committerjao <jao@gnu.org>2022-03-11 21:17:54 +0000
commit725a83f63836cc98a64285ed6dc31da3ccc99858 (patch)
tree37ebc60c31854303731bdba75fd7a1f5482e9296 /init.org
parent5027f2e784d38faaff71f79cf24eff28344a8591 (diff)
downloadelibs-725a83f63836cc98a64285ed6dc31da3ccc99858.tar.gz
elibs-725a83f63836cc98a64285ed6dc31da3ccc99858.tar.bz2
themes: trying roboto and configurable bold weight
Diffstat (limited to 'init.org')
-rw-r--r--init.org24
1 files changed, 16 insertions, 8 deletions
diff --git a/init.org b/init.org
index 4407c8a..9966532 100644
--- a/init.org
+++ b/init.org
@@ -298,7 +298,7 @@
#+begin_src emacs-lisp
(setq widget-image-enable nil
widget-link-prefix ""
- widget-link-suffix "↗"
+ widget-link-suffix ""
widget-button-prefix " "
widget-button-suffix " "
widget-push-button-prefix ""
@@ -387,6 +387,7 @@
(expand-file-name "lib/themes" jao-emacs-dir))
(defvar jao-default-font "Hack-9") ;; "Fira Code-9"
+ (setq jao-default-font "Roboto Mono-9")
(require 'jao-themes)
@@ -980,14 +981,21 @@
(add-hook 'write-file-functions 'delete-trailing-whitespace)
(setq-default indicate-empty-lines nil)
#+END_SRC
-*** Filling
+*** Filling and fill column indicator
Some variables to control where fci mode will be or is being used
- #+BEGIN_SRC emacs-lisp
+ #+begin_src emacs-lisp
(setq fill-column 78)
(setq comment-auto-fill-only-comments nil)
- (add-hook 'prog-mode-hook #'display-fill-column-indicator-mode)
- (setq-default display-fill-column-indicator-column 80)
- #+END_SRC
+ (use-package display-fill-column-indicator
+ :hook (prog-mode . display-fill-column-indicator-mode)
+ :init (setq display-fill-column-indicator-column 80
+ display-fill-column-indicator-character ?│)
+ :config
+ (unless (string-prefix-p "Hack" jao-default-font)
+ (set-face-attribute 'fill-column-indicator nil
+ :family "Hack" :height 110)))
+
+ #+end_src
*** Visible mode
#+begin_src emacs-lisp
(use-package visible-mode
@@ -2033,10 +2041,10 @@
#+end_src
* Version control and CI
*** General options
- #+BEGIN_SRC emacs-lisp
+ #+begin_src emacs-lisp
(setq vc-follow-symlinks t)
(setq auto-revert-check-vc-info nil)
- #+END_SRC
+ #+end_src
*** Diff fringe indicators (diff-hl)
#+begin_src emacs-lisp
(use-package diff-hl