mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: add pre-commit-hooks
This commit is contained in:
parent
eb1d563c35
commit
584cc31ce3
5 changed files with 140 additions and 2 deletions
|
|
@ -337,7 +337,8 @@ create a new one."
|
|||
"oa" '((lambda () (interactive) (org-refile)) :which-key "org-refile")
|
||||
"ob" '((lambda () (interactive) (org-babel-mark-block)) :which-key "Mark whole src-block")
|
||||
"ol" '((lambda () (interactive) (org-insert-link)) :which-key "insert link")
|
||||
"os" '((lambda () (interactive) (org-store-link)) :which-key "store link")
|
||||
"oc" '((lambda () (interactive) (org-store-link)) :which-key "copy (=store) link")
|
||||
"os" '(shfmt-region :which-key "format sh-block")
|
||||
"od" '((lambda () (interactive) (org-babel-demarcate-block)) :which-key "demarcate (split) src-block")
|
||||
"on" '(nixpkgs-fmt-region :which-key "format nix-block")
|
||||
"ot" '(swarsel/org-babel-tangle-config :which-key "tangle file")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue