Add magit section
This commit is contained in:
parent
96ab07c638
commit
623759dd64
2 changed files with 10 additions and 5 deletions
10
config.org
10
config.org
|
|
@ -651,6 +651,16 @@ TODO: need to document this
|
||||||
(add-hook 'gud-mode-hook 'egdbe-gud-mode-hook)
|
(add-hook 'gud-mode-hook 'egdbe-gud-mode-hook)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
* Magit
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package magit
|
||||||
|
:ensure t
|
||||||
|
:bind
|
||||||
|
("C-c m" . magit-status)
|
||||||
|
)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
* Old stuff, maybe usefull for lookup later
|
* Old stuff, maybe usefull for lookup later
|
||||||
|
|
||||||
** Diff mode stuff
|
** Diff mode stuff
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,4 @@
|
||||||
(add-hook 'elpy-mode-hook 'flycheck-mode)
|
(add-hook 'elpy-mode-hook 'flycheck-mode)
|
||||||
(add-hook 'elpy-mode-hook 'py-autopep8-enable-on-save)
|
(add-hook 'elpy-mode-hook 'py-autopep8-enable-on-save)
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
||||||
;; Magit (git) ;;
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
||||||
(global-set-key (kbd "C-c m") 'magit-status)
|
|
||||||
|
|
||||||
(provide 'setup-coding)
|
(provide 'setup-coding)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue