Tweak doom emacs configs
This commit is contained in:
parent
bc9dde2be4
commit
6b3baefdf8
|
@ -113,6 +113,9 @@
|
||||||
;; TODO: Make this conditional so we can make the correct choice on macos
|
;; TODO: Make this conditional so we can make the correct choice on macos
|
||||||
(setq alert-default-style 'libnotify))
|
(setq alert-default-style 'libnotify))
|
||||||
|
|
||||||
|
(after! dired
|
||||||
|
(setq dired-omit-files "\\`[.]?#\\|\\`[.]?\\'\\|^\\.DS_Store\\'\\|^\\.project\\(?:ile\\)?\\'\\|^\\.\\(?:svn\\|git\\)\\'\\|^\\.ccls-cache\\'\\|\\(?:\\.js\\)?\\.meta\\'\\|\\.\\(?:elc\\|o\\|pyo\\|swp\\|class\\)\\'"))
|
||||||
|
|
||||||
(setq-default fill-column 100)
|
(setq-default fill-column 100)
|
||||||
|
|
||||||
(after! avy
|
(after! avy
|
||||||
|
@ -148,6 +151,9 @@
|
||||||
(use-package! deadgrep
|
(use-package! deadgrep
|
||||||
:bind ("C-c s r" . deadgrep))
|
:bind ("C-c s r" . deadgrep))
|
||||||
|
|
||||||
|
(after! flyspell
|
||||||
|
(add-hook 'prog-mode-hook #'flyspell-prog-mode))
|
||||||
|
|
||||||
(setq org-hide-emphasis-markers t
|
(setq org-hide-emphasis-markers t
|
||||||
org-pretty-entities t)
|
org-pretty-entities t)
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
My doom emacs configuration
|
My doom emacs configuration
|
||||||
|
|
||||||
* Basic Doom stuff
|
* Basic Doom stuff
|
||||||
|
|
||||||
The provided default ~config.el~
|
The provided default ~config.el~
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -150,6 +149,12 @@ Configure notifications that originate from within emacs
|
||||||
;; TODO: Make this conditional so we can make the correct choice on macos
|
;; TODO: Make this conditional so we can make the correct choice on macos
|
||||||
(setq alert-default-style 'libnotify))
|
(setq alert-default-style 'libnotify))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** Dired
|
||||||
|
Modify the ~dired-omit-files~ regex to exclude the current working directory (~.~), but not the parent directory(~..~).
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(after! dired
|
||||||
|
(setq dired-omit-files "\\`[.]?#\\|\\`[.]?\\'\\|^\\.DS_Store\\'\\|^\\.project\\(?:ile\\)?\\'\\|^\\.\\(?:svn\\|git\\)\\'\\|^\\.ccls-cache\\'\\|\\(?:\\.js\\)?\\.meta\\'\\|\\.\\(?:elc\\|o\\|pyo\\|swp\\|class\\)\\'"))
|
||||||
|
#+end_src
|
||||||
* Basic Editing
|
* Basic Editing
|
||||||
** Fill Column
|
** Fill Column
|
||||||
Set the default fill column to 100
|
Set the default fill column to 100
|
||||||
|
@ -217,7 +222,12 @@ Ripgrep, but from within emacs
|
||||||
(use-package! deadgrep
|
(use-package! deadgrep
|
||||||
:bind ("C-c s r" . deadgrep))
|
:bind ("C-c s r" . deadgrep))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** Spell Checking
|
||||||
|
Hook ~flyspell-prog-mode~ into ~prog-mode~
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(after! flyspell
|
||||||
|
(add-hook 'prog-mode-hook #'flyspell-prog-mode))
|
||||||
|
#+end_src
|
||||||
* Org Mode
|
* Org Mode
|
||||||
Improvements to the best mode in emacs
|
Improvements to the best mode in emacs
|
||||||
|
|
||||||
|
|
|
@ -15,19 +15,17 @@
|
||||||
;; directory (for easy access to its source code).
|
;; directory (for easy access to its source code).
|
||||||
|
|
||||||
(doom! :completion
|
(doom! :completion
|
||||||
company ; the ultimate code completion backend
|
(company +childframe) ; the ultimate code completion backend
|
||||||
(ivy +fuzzy +precient +childframe +icons)
|
(ivy +fuzzy +precient +childframe +icons)
|
||||||
|
|
||||||
:ui
|
:ui
|
||||||
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
|
||||||
(emoji +unicode +github) ; 🙂
|
(emoji +unicode) ; 🙂
|
||||||
hl-todo ; highlight todo-words
|
hl-todo ; highlight todo-words
|
||||||
indent-guides ; highlighted indent columns
|
indent-guides ; highlighted indent columns
|
||||||
;;(ligatures +fira) ; ligatures and symbols to make your code pretty again
|
|
||||||
modeline ; snazzy, Atom-inspired modeline, plus API
|
modeline ; snazzy, Atom-inspired modeline, plus API
|
||||||
nav-flash ; blink cursor line after big motions
|
nav-flash ; blink cursor line after big motions
|
||||||
;; ophints ; highlight the region an operation acts on
|
|
||||||
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
||||||
tabs ; a tab bar for Emacs
|
tabs ; a tab bar for Emacs
|
||||||
(treemacs +lsp) ; a project drawer, like neotree but cooler
|
(treemacs +lsp) ; a project drawer, like neotree but cooler
|
||||||
|
@ -40,7 +38,7 @@
|
||||||
file-templates ; auto-snippets for empty files
|
file-templates ; auto-snippets for empty files
|
||||||
fold ; (nigh) universal code folding
|
fold ; (nigh) universal code folding
|
||||||
(format +onsave) ; automated prettiness
|
(format +onsave) ; automated prettiness
|
||||||
;; multiple-cursors ; editing in many places at once
|
multiple-cursors ; editing in many places at once
|
||||||
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
|
snippets ; my elves. They type so I don't have to
|
||||||
word-wrap ; soft wrapping with language-aware indent
|
word-wrap ; soft wrapping with language-aware indent
|
||||||
|
@ -91,18 +89,12 @@
|
||||||
(kotlin +lsp)
|
(kotlin +lsp)
|
||||||
(java +lsp +meghanada)
|
(java +lsp +meghanada)
|
||||||
(javascript +lsp)
|
(javascript +lsp)
|
||||||
|
|
||||||
:email
|
:email
|
||||||
(mu4e +org)
|
(mu4e +org)
|
||||||
;;notmuch
|
|
||||||
;;(wanderlust +gmail)
|
|
||||||
|
|
||||||
:app
|
:app
|
||||||
;;calendar
|
|
||||||
;; emms
|
|
||||||
;;everywhere ; *leave* Emacs!? You must be joking
|
|
||||||
;;irc ; how neckbeards socialize
|
|
||||||
(rss +org) ; emacs as an RSS reader
|
(rss +org) ; emacs as an RSS reader
|
||||||
;;twitter ; twitter client https://twitter.com/vnought
|
|
||||||
|
|
||||||
:config
|
:config
|
||||||
literate
|
literate
|
||||||
|
|
Loading…
Reference in New Issue