Evil Mode!
This commit is contained in:
parent
1ab29657e2
commit
8a53f8d4ca
54
config.org
54
config.org
|
@ -136,7 +136,8 @@ Configure treemacs, doing the following:
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(after! treemacs
|
(after! treemacs
|
||||||
(setq treemacs-width 28)
|
(setq treemacs-width 28)
|
||||||
(bind-key "M-0" #'treemacs-select-window))
|
;; (bind-key "M-0" #'treemacs-select-window)
|
||||||
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Alert
|
** Alert
|
||||||
Configure notifications that originate from within emacs
|
Configure notifications that originate from within emacs
|
||||||
|
@ -194,14 +195,16 @@ Smarter replacements for emacs built ins, with the following in use:
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package! crux
|
(use-package! crux
|
||||||
:bind (("C-k" . crux-smart-kill-line)))
|
;; :bind (("C-k" . crux-smart-kill-line))
|
||||||
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
** string-inflection
|
** string-inflection
|
||||||
Automatically cycle case of names
|
Automatically cycle case of names
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(global-unset-key (kbd "C-q"))
|
(global-unset-key (kbd "C-q"))
|
||||||
(use-package! string-inflection
|
(use-package! string-inflection
|
||||||
:bind (("C-q" . string-inflection-all-cycle)))
|
;; :bind (("C-q" . string-inflection-all-cycle))
|
||||||
|
)
|
||||||
(cheatsheet-add-group 'string-inflection
|
(cheatsheet-add-group 'string-inflection
|
||||||
'(:key "C-q" :description "Rotate case"))
|
'(:key "C-q" :description "Rotate case"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -209,14 +212,16 @@ Automatically cycle case of names
|
||||||
Gobble up whitespace in a smarter way
|
Gobble up whitespace in a smarter way
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package! smart-hungry-delete
|
(use-package! smart-hungry-delete
|
||||||
:bind (("M-<backspace>" . smart-hungry-delete-backward-char)))
|
;; :bind (("M-<backspace>" . smart-hungry-delete-backward-char))
|
||||||
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Search
|
** Search
|
||||||
*** Deadgrep
|
*** Deadgrep
|
||||||
Ripgrep, but from within emacs
|
Ripgrep, but from within emacs
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package! deadgrep
|
(use-package! deadgrep
|
||||||
:bind ("C-c s r" . deadgrep))
|
;; :bind ("C-c s r" . deadgrep)
|
||||||
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Spell Checking
|
** Spell Checking
|
||||||
Add in all of our dictionaries
|
Add in all of our dictionaries
|
||||||
|
@ -227,7 +232,8 @@ Add in all of our dictionaries
|
||||||
(spell-fu-dictionary-add (spell-fu-get-ispell-dictionary "en"))
|
(spell-fu-dictionary-add (spell-fu-get-ispell-dictionary "en"))
|
||||||
(spell-fu-dictionary-add (spell-fu-get-ispell-dictionary "en-science"))
|
(spell-fu-dictionary-add (spell-fu-get-ispell-dictionary "en-science"))
|
||||||
(spell-fu-dictionary-add (spell-fu-get-ispell-dictionary "en-computers"))))
|
(spell-fu-dictionary-add (spell-fu-get-ispell-dictionary "en-computers"))))
|
||||||
(bind-key "C-." #'+spell/correct))
|
;; (bind-key "C-." #'+spell/correct)
|
||||||
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
* Org Mode
|
* Org Mode
|
||||||
Improvements to the best mode in emacs
|
Improvements to the best mode in emacs
|
||||||
|
@ -401,15 +407,15 @@ Here we:
|
||||||
:custom
|
:custom
|
||||||
(org-roam-directory (concat org-directory "Roam/"))
|
(org-roam-directory (concat org-directory "Roam/"))
|
||||||
(org-roam-complete-everywhere t)
|
(org-roam-complete-everywhere t)
|
||||||
:bind (("C-c r l" . org-roam-buffer-toggle)
|
;; :bind (("C-c r l" . org-roam-buffer-toggle)
|
||||||
("C-c r f" . org-roam-node-find)
|
;; ("C-c r f" . org-roam-node-find)
|
||||||
("C-c r g" . org-roam-graph)
|
;; ("C-c r g" . org-roam-graph)
|
||||||
("C-c r i" . org-roam-node-insert)
|
;; ("C-c r i" . org-roam-node-insert)
|
||||||
("C-c r c" . org-roam-capture)
|
;; ("C-c r c" . org-roam-capture)
|
||||||
("C-c r T" . org-roam-dailies-capture-today)
|
;; ("C-c r T" . org-roam-dailies-capture-today)
|
||||||
("C-c r t" . org-roam-dailies-goto-today)
|
;; ("C-c r t" . org-roam-dailies-goto-today)
|
||||||
:map org-mode-map
|
;; :map org-mode-map
|
||||||
("C-M-i" . completion-at-point))
|
;; ("C-M-i" . completion-at-point))
|
||||||
:config
|
:config
|
||||||
(setq org-roam-node-display-template (concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag)))
|
(setq org-roam-node-display-template (concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag)))
|
||||||
(org-roam-db-autosync-mode)
|
(org-roam-db-autosync-mode)
|
||||||
|
@ -649,8 +655,9 @@ in
|
||||||
Add ergonomic support for multiple vterm terminals
|
Add ergonomic support for multiple vterm terminals
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package! multi-vterm
|
(use-package! multi-vterm
|
||||||
:bind (("C-c o M" . multi-vterm)
|
;; :bind (("C-c o M" . multi-vterm)
|
||||||
("C-c o m" . multi-vterm-project)))
|
;; ("C-c o m" . multi-vterm-project))
|
||||||
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
* Programming
|
* Programming
|
||||||
** General Editing
|
** General Editing
|
||||||
|
@ -660,9 +667,9 @@ Edit indirect for comments
|
||||||
Set the default mode to github flavored markdown, turn on smart use of fill column, and bind to the normal edit-indirect keybinding.
|
Set the default mode to github flavored markdown, turn on smart use of fill column, and bind to the normal edit-indirect keybinding.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package! separedit
|
(use-package! separedit
|
||||||
:bind
|
;; :bind
|
||||||
(:map prog-mode-map
|
;; (:map prog-mode-map
|
||||||
("C-c '" . separedit))
|
;; ("C-c '" . separedit))
|
||||||
:config
|
:config
|
||||||
(setq separedit-default-mode 'gfm-mode
|
(setq separedit-default-mode 'gfm-mode
|
||||||
separedit-continue-fill-column t))
|
separedit-continue-fill-column t))
|
||||||
|
@ -783,8 +790,9 @@ The goal here is to create a more pretty and fluid composition environment for p
|
||||||
Provide a live, rendered preview when editing markdown readmes using [[https://github.com/joeyespo/grip][grip]].
|
Provide a live, rendered preview when editing markdown readmes using [[https://github.com/joeyespo/grip][grip]].
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package! grip-mode
|
(use-package! grip-mode
|
||||||
:bind (:map markdown-mode-command-map
|
;; :bind (:map markdown-mode-command-map
|
||||||
("g" . grip-mode)))
|
;; ("g" . grip-mode))
|
||||||
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Plantuml mode
|
** Plantuml mode
|
||||||
Dial down the indent
|
Dial down the indent
|
||||||
|
@ -806,7 +814,7 @@ Use ~elfeed~ for RSS. Doom provides most of the configuration, but we'll make a
|
||||||
:hook (elfeed-search-mode . elfeed-update)
|
:hook (elfeed-search-mode . elfeed-update)
|
||||||
:hook (elfeed-show-mode . variable-pitch-mode)
|
:hook (elfeed-show-mode . variable-pitch-mode)
|
||||||
:hook (elfeed-show-mode . visual-line-mode)
|
:hook (elfeed-show-mode . visual-line-mode)
|
||||||
:bind ("C-x w" . elfeed)
|
;; :bind ("C-x w" . elfeed)
|
||||||
:config
|
:config
|
||||||
(setq elfeed-search-filter "@4-weeks-ago +unread"
|
(setq elfeed-search-filter "@4-weeks-ago +unread"
|
||||||
elfeed-db-directory (concat org-directory "elfeed/db/")
|
elfeed-db-directory (concat org-directory "elfeed/db/")
|
||||||
|
|
1
init.el
1
init.el
|
@ -35,6 +35,7 @@
|
||||||
zen ; distraction-free coding or writing
|
zen ; distraction-free coding or writing
|
||||||
|
|
||||||
:editor
|
:editor
|
||||||
|
(evil +everywhere)
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue