Cleanup the magit section

master
Jacopo De Simoi 3 years ago
parent 9ee0696d24
commit e2526f7a5d
  1. 15
      global.org

@ -2396,9 +2396,14 @@
#+end_src
* Main packages
** Magit
Load ~magit~ and introduce the keybinding
#+begin_src emacs-lisp
(require 'magit)
(global-set-key (kbd "C-x g") 'magit-status)
#+end_src
Customize the sections in ~magit-status~ by adding modules overview
and untracked files.
#+begin_src emacs-lisp
(magit-add-section-hook 'magit-status-sections-hook
#'magit-insert-modules-overview
#'magit-insert-unpushed-to-pushremote
@ -2408,11 +2413,11 @@
#'magit-insert-modules-overview
:append)
#+end_src
*** magit-todos
#+begin_src emacs-lisp
(require 'magit-todos)
#+end_src
Enable [[https://github.com/alphapapa/magit-todos ][magit-todos]] in magit status buffer
#+begin_src emacs-lisp
(require 'magit-todos)
(magit-todos-mode)
#+end_src
** smart-tab
This package is a gem: it allows to make tab work dwim
#+begin_src emacs-lisp

Loading…
Cancel
Save