https://github.com/daviwil/runemacs
(use-package projectile
:diminish projectile-mode
:config (projectile-mode)
:bind-keymap
("C-c p" . projectile-command-map)
:init
(when (file-directory-p "~/Projects/Code")
(setq projectile-project-search-path '("~/Projects/Code")))
(setq projectile-switch-project-action #'projectile-dired))
https://github.com/bbatsov/projectile https://docs.projectile.mx/projectile/index.html https://docs.projectile.mx/projectile/projects.html#storing-project-settings https://www.gnu.org/software/emacs/manual/html_node/elisp/Directory-Local-Variables.html
- Run project
C-c p u
- Run tests:
C-c p P
- Edit dir-locals:
C-c p E
(reload withhack-dir-local-variables-non-file-buffer
)
https://github.com/ericdanan/counsel-projectile
(use-package counsel-projectile
:after projectile
:config
(counsel-projectile-mode 1))
- Advanced project switching:
C-c p p
- Quick searching with
counsel-projectile-rg
-C-c p s r
- Results to buffer with
C-c C-o
- Results to buffer with
https://github.com/magit/magit ttps://magit.vc/ https://magit.vc/manual/magit/
(use-package magit
:commands (magit-status magit-get-current-branch)
:custom
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1))
(use-package evil-magit
:after magit)
Operations
Run magit-status
in buffer from Git repo, press ?
for command panel.
Refresh buffer with g r
- Diffs
- Commit log
- Blame
- Stashes
- Branches
- Rebase
- Pull/push
https://github.com/magit/forge https://magit.vc/manual/forge
Important: https://magit.vc/manual/ghub/Getting-Started.html#Getting-Started
(use-package forge)