Compare commits
2 commits
e7117ec2fb
...
d3708b3238
Author | SHA1 | Date | |
---|---|---|---|
d3708b3238 | |||
a12b42933e |
1 changed files with 6 additions and 4 deletions
10
init.el
10
init.el
|
@ -83,7 +83,7 @@
|
||||||
|
|
||||||
;; Font configuration
|
;; Font configuration
|
||||||
(let ((my-font "Iosevka Term")
|
(let ((my-font "Iosevka Term")
|
||||||
(my-height 120))
|
(my-height (if (eq window-system 'ns) 130 120)))
|
||||||
(set-face-attribute 'default nil :family my-font :height my-height)
|
(set-face-attribute 'default nil :family my-font :height my-height)
|
||||||
(set-face-attribute 'fixed-pitch nil :family my-font :height my-height))
|
(set-face-attribute 'fixed-pitch nil :family my-font :height my-height))
|
||||||
(set-face-attribute 'variable-pitch nil :family "Libertinus Serif" :height 160)
|
(set-face-attribute 'variable-pitch nil :family "Libertinus Serif" :height 160)
|
||||||
|
@ -368,7 +368,7 @@
|
||||||
;;; Knowledge management: org-mode, org-roam, bibliography
|
;;; Knowledge management: org-mode, org-roam, bibliography
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
(setq notes-dir "~/Documents/notes")
|
(setq notes-dir (if (eq window-system 'ns) "~/Documents/personal/notes" "~/Documents/notes"))
|
||||||
|
|
||||||
;; Pour accéder rapidement à l'organisation
|
;; Pour accéder rapidement à l'organisation
|
||||||
(defun gtd ()
|
(defun gtd ()
|
||||||
|
@ -854,8 +854,10 @@
|
||||||
|
|
||||||
(use-package pet
|
(use-package pet
|
||||||
:ensure t
|
:ensure t
|
||||||
:hook
|
:config
|
||||||
(python-base-mode . (lambda () (pet-mode -10))))
|
;; The -10 tells `add-hook' to makes sure the function is called as early as
|
||||||
|
;; possible whenever it is added to the hook variable
|
||||||
|
(add-hook 'python-base-mode-hook 'pet-mode -10))
|
||||||
|
|
||||||
(use-package paredit
|
(use-package paredit
|
||||||
:ensure t
|
:ensure t
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue