This commit is contained in:
Andrea Ciceri 2021-10-28 12:53:35 +02:00
parent aa7650e975
commit 7d02c94366
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
13 changed files with 117 additions and 10 deletions

View file

@ -9,7 +9,7 @@
)
(use-package fira-code-mode
:custom (fira-code-mode-disabled-ligatures '()) ;; List of ligatures to turn off
:custom (fira-code-mode-disabled-ligatures '("x")) ;; List of ligatures to turn off
:config
(fira-code-mode-set-font)
(global-fira-code-mode))
@ -31,6 +31,9 @@
(use-package minimap)
(use-package rainbow-identifiers
:hook ((prog-mode . rainbow-identifiers-mode)))
;; To move in a different config file
(when (string-equal system-type "darwin")
(setq mac-command-modifier 'ctrl))

View file

@ -0,0 +1,23 @@
(use-package notmuch
:custom
(notmuch-archive-tags '("-unread"))
(notmuch-show-indent-content nil)
(notmuch-hello-sections
'(notmuch-hello-insert-header
notmuch-hello-insert-saved-searches
notmuch-hello-insert-search
notmuch-hello-insert-alltags
notmuch-hello-insert-recent-searches
notmuch-hello-insert-footer
))
(notmuch-tagging-keys
'(("a" notmuch-archive-tags "Archive")
("u" notmuch-show-
mark-read-tags "Mark read")
("m" ("+muted") "Mute")
("f" ("+flagged") "Flag")
("s" ("+spam" "-inbox") "Mark as spam")
("d" ("+deleted" "-inbox") "Delete")))
)
(provide 'config-emails)

View file

@ -2,9 +2,12 @@
:init
;; set prefix for lsp-command-keymap (few alternatives - "C-l", "C-c l")
(setq lsp-keymap-prefix "C-c l")
:custom
(lsp-haskell-server-path "haskell-language-server-wrapper")
:hook (;; replace XXX-mode with concrete major-mode(e. g. python-mode)
(nix-mode . lsp)
(python-mode . lsp)
(haskell-mode . lsp)
;; if you want which-key integration
(lsp-mode . lsp-enable-which-key-integration))
:commands lsp)

View file

@ -16,6 +16,7 @@ Return nil if COMMAND is not found anywhere in `exec-path'."
(require 'config-evil)
(require 'config-helm)
(require 'config-org)
(require 'config-emails)
(require 'config-projectile)
(require 'config-company)
(require 'config-magit)