Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
Doom Emacs Config
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki externe
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Déploiement
Releases
Registre de modèles
Analyse
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Ce projet est archivé. Le dépôt et les autres ressources du projet sont en lecture seule.
Afficher davantage de fils d'Ariane
Kubat
Doom Emacs Config
Validations
fbe3e295
Vérifiée
Valider
fbe3e295
rédigé
3 years ago
par
Kubat
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
More font config + reorder config + a bit more comments
parent
7f5c980d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
1
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
1 fichier modifié
config.el
+25
-33
25 ajouts, 33 suppressions
config.el
avec
25 ajouts
et
33 suppressions
config.el
+
25
−
33
Voir le fichier @
fbe3e295
...
...
@@ -8,29 +8,21 @@
(
setq
user-full-name
"Maël MARTIN"
user-mail-address
"mael.martin@protonmail.com"
)
;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
;; are the three important ones:
;;
;; + `doom-font'
;; + `doom-variable-pitch-font'
;; + `doom-big-font' -- used for `doom-big-font-mode'; use this for
;; presentations or streaming.
;; doom-variable-pitch-font (font-spec :family "sans" :size 13))
;; Set Doom fonts
(
setq
doom-font
(
font-spec
:family
"Fira Code"
:size
12
:weight
'medium
)
doom-variable-pitch-font
(
font-spec
:family
"Fira Code"
:size
12
)
doom-big-font
(
font-spec
:family
"Fira Code"
:size
14
))
(
after!
doom-theme
(
setq
doom-themes-enable-bold
t
doom-themes-enable-italic
t
))
(
custom-set-faces!
'
(
font-lock-comment-face
:slant
italic
)
'
(
font-lock-keyword-face
:slant
italic
))
;; There are two ways to load a theme. Both assume the theme is installed and
;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default:
;; Set theme. Either `doom-theme' or `load-theme'
(
setq
doom-theme
'doom-one
)
;; If you use `org' and don't want your org files in the default location below,
;; change `org-directory'. It must be set before org loads!
(
setq
org-directory
"~/org/"
)
;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'.
;; Line numbering: nil | relative | t (true)
(
setq
display-line-numbers-type
t
)
;; Zoom key-bindings
...
...
@@ -39,6 +31,22 @@
(
global-set-key
(
kbd
"<C-wheel-up>"
)
'text-scale-increase
)
(
global-set-key
(
kbd
"<C-wheel-down>"
)
'text-scale-decrease
)
;; Things for the ORG mode
(
add-hook
'org-mode-hook
'org-indent-mode
)
(
setq
org-directory
"~/org/"
org-agenda-files
'
(
"~/org/agenda.org"
)
org-default-notes-file
(
expand-file-name
"notes.org"
org-directory
)
org-ellipsis
" ▼ "
org-log-done
'time
org-journal-dir
"~/org/journal/"
org-journal-date-format
"%B %d, %Y (%A) "
org-journal-file-format
"%Y-%m-%d.org"
org-hide-emphasis-markers
t
)
(
setq
org-src-preserve-indentation
nil
org-src-tab-acts-natively
t
org-edit-src-content-indentation
0
)
(
add-hook
'org-mode-hook
(
lambda
()
(
org-bullets-mode
1
)))
;; Here are some additional functions/macros that could help you configure Doom:
;;
;; - `load!' for loading external *.el files relative to this one
...
...
@@ -55,19 +63,3 @@
;;
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
;; they are implemented.
;; Things for the ORG mode
(
add-hook
'org-mode-hook
'org-indent-mode
)
(
setq
org-directory
"~/org/"
org-agenda-files
'
(
"~/org/agenda.org"
)
org-default-notes-file
(
expand-file-name
"notes.org"
org-directory
)
org-ellipsis
" ▼ "
org-log-done
'time
org-journal-dir
"~/org/journal/"
org-journal-date-format
"%B %d, %Y (%A) "
org-journal-file-format
"%Y-%m-%d.org"
org-hide-emphasis-markers
t
)
(
setq
org-src-preserve-indentation
nil
org-src-tab-acts-natively
t
org-edit-src-content-indentation
0
)
(
add-hook
'org-mode-hook
(
lambda
()
(
org-bullets-mode
1
)))
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter