reformatting things

This commit is contained in:
Chris Cochrun 2021-02-16 11:42:49 -06:00
parent e269e493d2
commit b0829f88ad

View file

@ -155,7 +155,7 @@ This evil-collection package includes a lot of other evil based things.
#+end_src #+end_src
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package general (use-package general
:init :init
(general-evil-setup) (general-evil-setup)
:config :config
@ -170,6 +170,7 @@ This evil-collection package includes a lot of other evil based things.
"s" '(:ignore t :which-key "search") "s" '(:ignore t :which-key "search")
"o" '(:ignore t :which-key "open") "o" '(:ignore t :which-key "open")
"bs" '(consult-buffer :which-key "buffer search") "bs" '(consult-buffer :which-key "buffer search")
"bd" '(kill-this-buffer :which-key "kill buffer")
"tt" '(consult-theme :which-key "choose theme") "tt" '(consult-theme :which-key "choose theme")
"ff" '(find-file :which-key "find file") "ff" '(find-file :which-key "find file")
"fs" '(save-buffer :which-key "save") "fs" '(save-buffer :which-key "save")
@ -325,7 +326,7 @@ Marginalia makes for some great decoration to our minibuffer completion items. W
** Org Mode ** Org Mode
Need to setup auto tangle yes Need to setup auto tangle yes
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package org (use-package org
:config :config
(setq org-startup-indented t) (setq org-startup-indented t)
(defun chris/org-babel-tangle-config () (defun chris/org-babel-tangle-config ()
@ -335,13 +336,12 @@ Need to setup auto tangle yes
(org-babel-tangle)))) (org-babel-tangle))))
(add-hook 'org-mode-hook (lambda () (add-hook 'after-save-hook #'chris/org-babel-tangle-config)))) (add-hook 'org-mode-hook (lambda () (add-hook 'after-save-hook #'chris/org-babel-tangle-config))))
#+end_src #+end_src
** Magit ** Magit
Use magit, because why wouldn't you? duh! Use magit, because why wouldn't you? duh!
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package magit (use-package magit
:commands (magit-status magit-get-current-branch) :commands (magit-status magit-get-current-branch)
:custom :custom
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)) (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1))
#+end_src #+end_src