Browse Source

Don't load ligatures on TTY

main
parent
commit
8ba2aa97f4
  1. 4
      README.org
  2. 3
      modules/interface.el

4
README.org

@ -1,4 +1,5 @@
#+TITLE: Dotfiles
#+SUBTITLE: I showed you my source code, pls respond
#+AUTHOR: Christopher James Hayward
#+EMAIL: chris@chrishayward.xyz
@ -1221,8 +1222,9 @@ Load a theme with =SPC t t=.
Enable font ligatures via [[https://github.com/jming422/fira-code-mode][fira-code-mode]], perform this action *only* when ~Fira Code~ is set as the current font.
#+begin_src emacs-lisp
(when (display-graphic-p)
(use-package fira-code-mode
:hook (prog-mode org-mode))
:hook (prog-mode org-mode)))
#+end_src
Toggle global ligature mode with =SPC t g=.

3
modules/interface.el

@ -34,8 +34,9 @@
(dotfiles/leader
"tt" '(load-theme t t :which-key "Theme"))
(when (display-graphic-p)
(use-package fira-code-mode
:hook (prog-mode org-mode))
:hook (prog-mode org-mode)))
(dotfiles/leader
"tg" '(global-fira-code-mode :which-key "Ligatures"))

Loading…
Cancel
Save