diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-05-15 16:52:33 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-05-15 16:55:36 +0200 |
| commit | fc9d1d737a7e443df98ed4aa46b4db149f5fc02a (patch) | |
| tree | 84b534bc9baa717054b6b97af218d12d8fd3c9fc /.emacs | |
| parent | 1c1a8fd913480cb7dc23afa921455d042349452a (diff) | |
| download | dotfiles-fc9d1d737a7e443df98ed4aa46b4db149f5fc02a.tar.xz | |
Break up .emacs section into smaller chunks
Diffstat (limited to '.emacs')
| -rw-r--r-- | .emacs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -273,7 +273,8 @@ (global-set-key (kbd "C-S-<left>") 'shrink-window-horizontally)) -;; Online packages configuration +;; Lighters + (defun my/symbol-as-icon (c) ;; By default, Emacs 28 uses color fonts for characters from (1) the ;; 'emoji script (2) the 'symbol script, when followed by VS-16. @@ -334,6 +335,8 @@ (if (boundp 'flymake-mode-line-lighter) (setq flymake-mode-line-lighter indicator) (delight 'flymake-mode indicator 'flymake)))) + +;; Version control. (add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh) (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh) @@ -361,7 +364,6 @@ (shell-command-to-string (format "git show --no-patch --date=short --format='%s' %s" "%cd \"%s\" (%h)" rev))))) - ;; Major modes configuration |
