Compare commits
3 Commits
272017a9e2
...
6572405db8
Author | SHA1 | Date |
---|---|---|
Nathan McCarty | 6572405db8 | |
Nathan McCarty | 3d8a188872 | |
Nathan McCarty | 8e00da505b |
33
config.org
33
config.org
|
@ -108,6 +108,12 @@ The provided default ~config.el~
|
|||
(after! gcmh
|
||||
(setq gcmh-high-cons-threshold (* 64 1024 1024)))
|
||||
#+end_src
|
||||
** Setup my user prefix
|
||||
Use ~SPC z~ as my user prefix for custom commands and what not
|
||||
#+begin_src emacs-lisp
|
||||
(map! :leader
|
||||
(:prefix ("z" . "custom")))
|
||||
#+end_src
|
||||
* Appearance, UX, and Fixes
|
||||
** Mixed Pitch Mode
|
||||
Use mixed pitch mode in prose writing modes, to make the writing experience a bit more pleasant.
|
||||
|
@ -774,13 +780,17 @@ 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.
|
||||
#+begin_src emacs-lisp
|
||||
(use-package! separedit
|
||||
;; :bind
|
||||
;; (:map prog-mode-map
|
||||
;; ("C-c '" . separedit))
|
||||
:config
|
||||
(setq separedit-default-mode 'gfm-mode
|
||||
separedit-continue-fill-column t))
|
||||
#+end_src
|
||||
|
||||
Setup the binding
|
||||
#+begin_src emacs-lisp
|
||||
(map! :leader
|
||||
:desc "Separedit"
|
||||
"z s" #'separedit)
|
||||
#+end_src
|
||||
*** Rainbow delimiters
|
||||
Makes pairs of delimiters into pretty colors. Hook this into prog-mode
|
||||
#+begin_src emacs-lisp
|
||||
|
@ -1035,3 +1045,20 @@ Now setup notifications
|
|||
#'(lambda() (edit-server-start))))
|
||||
:config (setq edit-server-new-frame nil))
|
||||
#+end_src
|
||||
|
||||
** Emacs calculator
|
||||
Bind calc to ~SPC o c~
|
||||
#+begin_src emacs-lisp
|
||||
(require 'calc)
|
||||
(map! :leader
|
||||
(:prefix ("z c" . "calc")
|
||||
"c" #'calc
|
||||
"q" #'quick-calc
|
||||
"d" #'calc-dispatch
|
||||
"g" #'calc-grab-region))
|
||||
#+end_src
|
||||
|
||||
Group digits by default
|
||||
#+begin_src emacs-lisp
|
||||
(setq calc-group-digits t)
|
||||
#+end_src
|
||||
|
|
2
init.el
2
init.el
|
@ -23,7 +23,7 @@
|
|||
doom-dashboard ; a nifty splash screen for Emacs
|
||||
(emoji +unicode) ; 🙂
|
||||
hl-todo ; highlight todo-words
|
||||
indent-guides ; highlighted indent columns
|
||||
;; indent-guides ; highlighted indent columns
|
||||
nav-flash ; blink cursor line after big motions
|
||||
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
||||
(treemacs +lsp) ; a project drawer, like neotree but cooler
|
||||
|
|
Loading…
Reference in New Issue