Skip to content

Commit

Permalink
emacs: change font to Go
Browse files Browse the repository at this point in the history
  • Loading branch information
niclas committed Apr 5, 2024
1 parent dfd9de4 commit 3f92f53
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .emacs.d/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,31 @@
(setq use-package-always-ensure t)

;;; Configuration
(setenv "PATH" (concat (getenv "PATH") ":/home/niclas/bin"))
(setq exec-path (append exec-path '("/home/niclas/bin")))

(use-package org-bullets
:hook (org-mode . org-bullets-mode)
:custom
(org-bullets-bullet-list '("" "" "" "" "" "" "")))

;; (use-package ligature
;; :config
;; (ligature-set-ligatures 'prog-mode '("|||>" "<|||" "<==>" "<!--" "####" "~~>" "***" "||=" "||>"
;; ":::" "::=" "=:=" "===" "==>" "=!=" "=>>" "=<<" "=/=" "!=="
;; "!!." ">=>" ">>=" ">>>" ">>-" ">->" "->>" "-->" "---" "-<<"
;; "<~~" "<~>" "<*>" "<||" "<|>" "<$>" "<==" "<=>" "<=<" "<->"
;; "<--" "<-<" "<<=" "<<-" "<<<" "<+>" "</>" "###" "#_(" "..<"
;; "..." "+++" "/==" "///" "_|_" "www" "&&" "^=" "~~" "~@" "~="
;; "~>" "~-" "**" "*>" "*/" "||" "|}" "|]" "|=" "|>" "|-" "{|"
;; "[|" "]#" "::" ":=" ":>" ":<" "$>" "==" "=>" "!=" "!!" ">:"
;; ">=" ">>" ">-" "-~" "-|" "->" "--" "-<" "<~" "<*" "<|" "<:"
;; "<$" "<=" "<>" "<-" "<<" "<+" "</" "#{" "#[" "#:" "#=" "#!"
;; "##" "#(" "#?" "#_" "%%" ".=" ".-" ".." ".?" "+>" "++" "?:"
;; "?=" "?." "??" ";;" "/*" "/=" "/>" "//" "__" "~~" "(*" "*)"
;; "\\\\" "://"))
;; (global-ligature-mode t))

;; C
(setq c-default-style "linux")

Expand Down Expand Up @@ -83,8 +103,10 @@
(tool-bar-mode -1)

(set-face-attribute 'default nil
:family "Input Mono Narrow"
:height 140)
:family "Go Mono"
; :family "IBM Plex Mono"
; :family "Space Mono"
:height 180)

(setq inhibit-startup-screen t)

Expand Down

0 comments on commit 3f92f53

Please sign in to comment.