adding magit
This commit is contained in:
parent
17176c4183
commit
da3ba1a3db
14
README.org
14
README.org
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
* Early Init
|
* Early Init
|
||||||
#+PROPERTY: header-args:emacs-lisp :tangle early-init.el
|
#+PROPERTY: header-args:emacs-lisp :tangle early-init.el
|
||||||
|
As of right now I haven't fully setup my early-init file, this does not export into the early-init.el file currently as it's just a copy from Doom's early-init.
|
||||||
#+begin_src emacs-lisp :tangle no
|
#+begin_src emacs-lisp :tangle no
|
||||||
;;; early-init.el -*- lexical-binding: t; -*-
|
;;; early-init.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
@ -161,12 +162,18 @@ This evil-collection package includes a lot of other evil based things.
|
||||||
:keymaps '(normal visual emacs)
|
:keymaps '(normal visual emacs)
|
||||||
:prefix "SPC")
|
:prefix "SPC")
|
||||||
(chris/leader-keys
|
(chris/leader-keys
|
||||||
|
"b" '(:ignore t :which-key "buffer")
|
||||||
"t" '(:ignore t :which-key "toggle")
|
"t" '(:ignore t :which-key "toggle")
|
||||||
"f" '(:ignore t :which-key "file")
|
"f" '(:ignore t :which-key "file")
|
||||||
"w" '(:ignore t :which-key "window")
|
"w" '(:ignore t :which-key "window")
|
||||||
|
"s" '(:ignore t :which-key "search")
|
||||||
|
"o" '(:ignore t :which-key "open")
|
||||||
|
"bs" '(consult-buffer :which-key "buffer search")
|
||||||
"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")
|
||||||
|
"od" '(dired-jump :which-key "dired jump")
|
||||||
|
"ss" '(consult-line :which-key "consult search")
|
||||||
"ww" '(other-window :which-key "other window")
|
"ww" '(other-window :which-key "other window")
|
||||||
))
|
))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -330,3 +337,10 @@ Need to setup auto tangle yes
|
||||||
(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
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package magit
|
||||||
|
:commands (magit-status magit-get-current-branch)
|
||||||
|
:custom
|
||||||
|
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1))
|
||||||
|
#+end_src
|
||||||
|
|
Loading…
Reference in a new issue