Update doom emacs with new init
This commit is contained in:
@ -27,6 +27,9 @@
|
|||||||
notmuch-message-headers-visible nil
|
notmuch-message-headers-visible nil
|
||||||
message-kill-buffer-on-exit t
|
message-kill-buffer-on-exit t
|
||||||
message-send-mail-function 'message-send-mail-with-sendmail
|
message-send-mail-function 'message-send-mail-with-sendmail
|
||||||
|
mail-specify-envelope-from t
|
||||||
|
message-sendmail-envelope-from 'header
|
||||||
|
mail-envelope-from 'header
|
||||||
notmuch-search-oldest-first nil
|
notmuch-search-oldest-first nil
|
||||||
send-mail-function 'sendmail-send-it
|
send-mail-function 'sendmail-send-it
|
||||||
;; sendmail-program "/usr/local/bin/msmtp"
|
;; sendmail-program "/usr/local/bin/msmtp"
|
||||||
@ -40,7 +43,7 @@
|
|||||||
notmuch-hello-sections '(notmuch-hello-insert-saved-searches
|
notmuch-hello-sections '(notmuch-hello-insert-saved-searches
|
||||||
notmuch-hello-insert-alltags)
|
notmuch-hello-insert-alltags)
|
||||||
notmuch-saved-searches '(
|
notmuch-saved-searches '(
|
||||||
(:name "inbox" :query "tag:inbox not tag:trash" :key "i")
|
(:name "inbox" :query "tag:inbox not tag:deleted" :key "i")
|
||||||
(:name "sent" :query "tag:sent" :key "s")
|
(:name "sent" :query "tag:sent" :key "s")
|
||||||
(:name "archived":query "tag:archived" :key "a")
|
(:name "archived":query "tag:archived" :key "a")
|
||||||
(:name "drafts" :query "tag:draft" :key "d"))
|
(:name "drafts" :query "tag:draft" :key "d"))
|
||||||
@ -189,7 +192,7 @@
|
|||||||
(defun +mail/notmuch-search-delete ()
|
(defun +mail/notmuch-search-delete ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(notmuch-search-add-tag
|
(notmuch-search-add-tag
|
||||||
(list "+trash" "-inbox" "-unread"))
|
(list "+deleted" "-inbox" "-unread"))
|
||||||
(notmuch-search-next-thread))
|
(notmuch-search-next-thread))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
@ -479,4 +482,3 @@ with `notmuch-hello-query-counts'."
|
|||||||
(setq message-default-mail-headers "Cc: \nBcc: \n")
|
(setq message-default-mail-headers "Cc: \nBcc: \n")
|
||||||
(setq message-auto-save-directory "~/Mail/colin@onec.me/Drafts/")
|
(setq message-auto-save-directory "~/Mail/colin@onec.me/Drafts/")
|
||||||
(setq message-directory "~/Mail/colin@onec.me/")
|
(setq message-directory "~/Mail/colin@onec.me/")
|
||||||
|
|
||||||
|
|||||||
@ -53,6 +53,8 @@
|
|||||||
"s-w" #'delete-window
|
"s-w" #'delete-window
|
||||||
"s-W" #'delete-frame
|
"s-W" #'delete-frame
|
||||||
"s-n" #'+default/new-buffer
|
"s-n" #'+default/new-buffer
|
||||||
|
"s-j" #'org-move-subtree-down
|
||||||
|
"s-k" #'org-move-subtree-up
|
||||||
"s-N" #'make-frame
|
"s-N" #'make-frame
|
||||||
"s-q" (if (daemonp) #'delete-frame #'evil-quit-all)
|
"s-q" (if (daemonp) #'delete-frame #'evil-quit-all)
|
||||||
;; Restore OS undo, save, copy, & paste keys (without cua-mode, because
|
;; Restore OS undo, save, copy, & paste keys (without cua-mode, because
|
||||||
@ -109,6 +111,10 @@
|
|||||||
+format-on-save-enabled-modes '(python-mode)
|
+format-on-save-enabled-modes '(python-mode)
|
||||||
+pretty-code-enabled-modes '(emacs-lisp-mode org-mode))
|
+pretty-code-enabled-modes '(emacs-lisp-mode org-mode))
|
||||||
|
|
||||||
|
;; app/mpdel
|
||||||
|
;;
|
||||||
|
(setq libmpdel-hostname "play.unbl.ink")
|
||||||
|
|
||||||
;; app/rss
|
;; app/rss
|
||||||
(add-hook! 'elfeed-show-mode-hook (text-scale-set 2))
|
(add-hook! 'elfeed-show-mode-hook (text-scale-set 2))
|
||||||
(setq rmh-elfeed-org-files (list "~/org/elfeed.org"))
|
(setq rmh-elfeed-org-files (list "~/org/elfeed.org"))
|
||||||
|
|||||||
@ -1,51 +1,46 @@
|
|||||||
;;; init.el -*- lexical-binding: t; -*-
|
;;; init.el -*- lexical-binding: t; -*-
|
||||||
;; Copy me to ~/.doom.d/init.el or ~/.config/doom/init.el, then edit me!
|
;; Copy me to ~/.doom.d/init.el or ~/.config/doom/init.el, then edit me!
|
||||||
|
|
||||||
(doom! :feature
|
(doom! :completion
|
||||||
;;debugger ; FIXME stepping through code, to help you add bugs
|
company ; the ultimate code completion backend
|
||||||
eval ; run code, run (also, repls)
|
|
||||||
(evil +everywhere); come to the dark side, we have cookies
|
|
||||||
file-templates ; auto-snippets for empty files
|
|
||||||
(lookup +docsets)
|
|
||||||
snippets ; my elves. They type so I don't have to
|
|
||||||
workspaces ; tab emulation, persistence & separate workspaces
|
|
||||||
|
|
||||||
:completion
|
|
||||||
(ivy +fuzzy +childframe) ; a search engine for love and life
|
|
||||||
company ; the ultimate code completion backend
|
|
||||||
;(helm +fuzzy)
|
;(helm +fuzzy)
|
||||||
;;ido ; the other *other* search engine...
|
;;ido ; the other *other* search engine...
|
||||||
|
(ivy +fuzzy) ; a search engine for love and life
|
||||||
|
|
||||||
:ui
|
:ui
|
||||||
;;deft ; notational velocity for Emacs
|
;;deft ; notational velocity for Emacs
|
||||||
doom ; what makes DOOM look the way it does
|
doom ; what makes DOOM look the way it does
|
||||||
doom-dashboard ; a nifty splash screen for Emacs
|
doom-dashboard ; a nifty splash screen for Emacs
|
||||||
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||||
evil-goggles ; display visual hints when editing in evil
|
fill-column ; a `fill-column' indicator
|
||||||
;;fill-column ; a `fill-column' indicator
|
|
||||||
hl-todo ; highlight TODO/FIXME/NOTE tags
|
hl-todo ; highlight TODO/FIXME/NOTE tags
|
||||||
modeline ; snazzy, Atom-inspired modeline, plus API
|
modeline ; snazzy, Atom-inspired modeline, plus API
|
||||||
nav-flash ; blink the current line after jumping
|
nav-flash ; blink the current line after jumping
|
||||||
;;neotree ; a project drawer, like NERDTree for vim
|
;;neotree ; a project drawer, like NERDTree for vim
|
||||||
treemacs ; a project drawer, like neotree but cooler
|
ophints ; display visual hints when editing in evil
|
||||||
(popup +all +defaults)
|
(popup +all +defaults)
|
||||||
pretty-code ; replace bits of code with pretty symbols
|
;;pretty-code ; replace bits of code with pretty symbols
|
||||||
;;tabbar ; FIXME an (incomplete) tab bar for Emacs
|
;;tabbar ; FIXME an (incomplete) tab bar for Emacs
|
||||||
|
treemacs ; a project drawer, like neotree but cooler
|
||||||
unicode ; extended unicode support for various languages
|
unicode ; extended unicode support for various languages
|
||||||
vc-gutter ; vcs diff in the fringe
|
vc-gutter ; vcs diff in the fringe
|
||||||
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||||
window-select ; visually switch windows
|
window-select ; visually switch windows
|
||||||
|
workspaces ; tab emulation, persistence & separate workspaces
|
||||||
|
|
||||||
:editor
|
:editor
|
||||||
fold
|
(evil +everywhere); come to the dark side, we have cookies
|
||||||
|
file-templates ; auto-snippets for empty files
|
||||||
|
;;fold
|
||||||
(format +onsave) ; automated prettiness
|
(format +onsave) ; automated prettiness
|
||||||
;;lispy ; vim for lisp, for people who dont like vim
|
;;lispy ; vim for lisp, for people who dont like vim
|
||||||
multiple-cursors ; editing in many places at once
|
multiple-cursors ; editing in many places at once
|
||||||
;;parinfer ; turn lisp into python, sort of
|
;;parinfer ; turn lisp into python, sort of
|
||||||
rotate-text ; cycle region at point between text candidates
|
rotate-text ; cycle region at point between text candidates
|
||||||
|
snippets ; my elves. They type so I don't have to
|
||||||
|
|
||||||
:emacs
|
:emacs
|
||||||
(dired +ranger)
|
(dired +ranger +icons)
|
||||||
electric ; smarter, keyword-based electric-indent
|
electric ; smarter, keyword-based electric-indent
|
||||||
eshell ; a consistent, cross-platform shell (WIP)
|
eshell ; a consistent, cross-platform shell (WIP)
|
||||||
imenu ; an imenu sidebar and searchable code index
|
imenu ; an imenu sidebar and searchable code index
|
||||||
@ -56,10 +51,12 @@
|
|||||||
ansible
|
ansible
|
||||||
docker
|
docker
|
||||||
editorconfig ; let someone else argue about tabs vs spaces
|
editorconfig ; let someone else argue about tabs vs spaces
|
||||||
|
eval ; run code, run (also, repls)
|
||||||
;;ein ; tame Jupyter notebooks with emacs
|
;;ein ; tame Jupyter notebooks with emacs
|
||||||
flycheck ; tasing you for every semicolon you forget
|
flycheck ; tasing you for every semicolon you forget
|
||||||
flyspell ; tasing you for misspelling mispelling
|
flyspell ; tasing you for misspelling mispelling
|
||||||
gist ; interacting with github gists
|
gist ; interacting with github gists
|
||||||
|
(lookup +docsets)
|
||||||
lsp
|
lsp
|
||||||
macos ; MacOS-specific commands
|
macos ; MacOS-specific commands
|
||||||
make ; run make tasks from Emacs
|
make ; run make tasks from Emacs
|
||||||
@ -92,31 +89,31 @@
|
|||||||
;;hy ; readability of scheme w/ speed of python
|
;;hy ; readability of scheme w/ speed of python
|
||||||
;;idris ;
|
;;idris ;
|
||||||
;;(java +meghanada) ; the poster child for carpal tunnel syndrome
|
;;(java +meghanada) ; the poster child for carpal tunnel syndrome
|
||||||
javascript ; all(hope(abandon(ye(who(enter(here))))))
|
javascript ; all(hope(abandon(ye(who(enter(here))))))
|
||||||
;;julia ; a better, faster MATLAB
|
julia ; a better, faster MATLAB
|
||||||
;;latex ; writing papers in Emacs has never been so fun
|
latex ; writing papers in Emacs has never been so fun
|
||||||
;;ledger ; an accounting system in Emacs
|
;;ledger ; an accounting system in Emacs
|
||||||
;;lua ; one-based indices? one-based indices
|
;;lua ; one-based indices? one-based indices
|
||||||
markdown ; writing docs for people to ignore
|
markdown ; writing docs for people to ignore
|
||||||
;;nim ; python + lisp at the speed of c
|
;;nim ; python + lisp at the speed of c
|
||||||
;;nix ; I hereby declare "nix geht mehr!"
|
;;nix ; I hereby declare "nix geht mehr!"
|
||||||
;;ocaml ; an objective camel
|
;;ocaml ; an objective camel
|
||||||
(org +attach +babel +capture +export +present)
|
(org +attach +babel +capture +export +present +habit +protocol)
|
||||||
;;perl ; write code no one else can comprehend
|
;;perl ; write code no one else can comprehend
|
||||||
;;php ; perl's insecure younger brother
|
;;php ; perl's insecure younger brother
|
||||||
;;plantuml ; diagrams for confusing people more
|
;;plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
(python +lsp) ; beautiful is better than ugly
|
(python +lsp) ; beautiful is better than ugly
|
||||||
;;qt ; the 'cutest' gui framework ever
|
;;qt ; the 'cutest' gui framework ever
|
||||||
;;racket ; a DSL for DSLs
|
racket ; a DSL for DSLs
|
||||||
rest ; Emacs as a REST client
|
rest ; Emacs as a REST client
|
||||||
(ruby +lsp) ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
(ruby +lsp) ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||||
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||||
;;scala ; java, but good
|
;;scala ; java, but good
|
||||||
(sh +fish) ; she sells (ba|z|fi)sh shells on the C xor
|
(sh +fish) ; she sells (ba|z|fi)sh shells on the C xor
|
||||||
;;solidity ; do you need a blockchain? No.
|
;;solidity ; do you need a blockchain? No.
|
||||||
;;swift ; who asked for emoji variables?
|
;;swift ; who asked for emoji variables?
|
||||||
web ; the tubes
|
web ; the tubes
|
||||||
;;vala ; GObjective-C
|
;;vala ; GObjective-C
|
||||||
|
|
||||||
;; Applications are complex and opinionated modules that transform Emacs
|
;; Applications are complex and opinionated modules that transform Emacs
|
||||||
@ -134,7 +131,7 @@
|
|||||||
|
|
||||||
:collab
|
:collab
|
||||||
;;floobits ; peer programming for a price
|
;;floobits ; peer programming for a price
|
||||||
impatient-mode ; show off code over HTTP
|
;;impatient-mode ; show off code over HTTP
|
||||||
|
|
||||||
:config
|
:config
|
||||||
;; For literate config users. This will tangle+compile a config.org
|
;; For literate config users. This will tangle+compile a config.org
|
||||||
|
|||||||
@ -49,6 +49,9 @@
|
|||||||
(package! ivy-lobsters)
|
(package! ivy-lobsters)
|
||||||
(package! dumb-jump)
|
(package! dumb-jump)
|
||||||
(package! beacon)
|
(package! beacon)
|
||||||
|
(package! web-search)
|
||||||
|
(package! mpdel)
|
||||||
|
(package! ivy-mpdel)
|
||||||
|
|
||||||
;; modes!
|
;; modes!
|
||||||
(package! terraform-mode)
|
(package! terraform-mode)
|
||||||
|
|||||||
Reference in New Issue
Block a user