mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: add emacs productivity keybinds
This commit is contained in:
parent
66971d2377
commit
4987c3976a
2 changed files with 8 additions and 2 deletions
|
|
@ -9403,12 +9403,15 @@ I also define some keybinds to some combinations directly. Those are used mostly
|
||||||
"md" '(dirvish :which-key "dirvish")
|
"md" '(dirvish :which-key "dirvish")
|
||||||
"o" '(:ignore o :which-key "org")
|
"o" '(:ignore o :which-key "org")
|
||||||
"op" '((lambda () (interactive) (org-present)) :which-key "org-present")
|
"op" '((lambda () (interactive) (org-present)) :which-key "org-present")
|
||||||
|
"oa" '((lambda () (interactive) (org-agenda)) :which-key "org-agenda")
|
||||||
|
"oa" '((lambda () (interactive) (org-refile)) :which-key "org-refile")
|
||||||
"ob" '((lambda () (interactive) (org-babel-mark-block)) :which-key "Mark whole src-block")
|
"ob" '((lambda () (interactive) (org-babel-mark-block)) :which-key "Mark whole src-block")
|
||||||
"ol" '((lambda () (interactive) (org-insert-link)) :which-key "insert link")
|
"ol" '((lambda () (interactive) (org-insert-link)) :which-key "insert link")
|
||||||
"os" '((lambda () (interactive) (org-store-link)) :which-key "store link")
|
"os" '((lambda () (interactive) (org-store-link)) :which-key "store link")
|
||||||
"od" '((lambda () (interactive) (org-babel-demarcate-block)) :which-key "demarcate (split) src-block")
|
"od" '((lambda () (interactive) (org-babel-demarcate-block)) :which-key "demarcate (split) src-block")
|
||||||
"on" '((lambda () (interactive) (nixpkgs-fmt-region)) :which-key "format nix-block")
|
"on" '((lambda () (interactive) (nixpkgs-fmt-region)) :which-key "format nix-block")
|
||||||
;; "c" '(:ignore c :which-key "capture")
|
"c" '(:ignore c :which-key "capture")
|
||||||
|
"ct" '((lambda () (interactive) (org-capture nil "tt")) :which-key "task")
|
||||||
;; "cj" '((lambda () (interactive) (org-capture nil "jj")) :which-key "journal")
|
;; "cj" '((lambda () (interactive) (org-capture nil "jj")) :which-key "journal")
|
||||||
;; "cs" '(markdown-download-screenshot :which-key "screenshot")
|
;; "cs" '(markdown-download-screenshot :which-key "screenshot")
|
||||||
"l" '(:ignore l :which-key "links")
|
"l" '(:ignore l :which-key "links")
|
||||||
|
|
|
||||||
|
|
@ -321,12 +321,15 @@ create a new one."
|
||||||
"md" '(dirvish :which-key "dirvish")
|
"md" '(dirvish :which-key "dirvish")
|
||||||
"o" '(:ignore o :which-key "org")
|
"o" '(:ignore o :which-key "org")
|
||||||
"op" '((lambda () (interactive) (org-present)) :which-key "org-present")
|
"op" '((lambda () (interactive) (org-present)) :which-key "org-present")
|
||||||
|
"oa" '((lambda () (interactive) (org-agenda)) :which-key "org-agenda")
|
||||||
|
"oa" '((lambda () (interactive) (org-refile)) :which-key "org-refile")
|
||||||
"ob" '((lambda () (interactive) (org-babel-mark-block)) :which-key "Mark whole src-block")
|
"ob" '((lambda () (interactive) (org-babel-mark-block)) :which-key "Mark whole src-block")
|
||||||
"ol" '((lambda () (interactive) (org-insert-link)) :which-key "insert link")
|
"ol" '((lambda () (interactive) (org-insert-link)) :which-key "insert link")
|
||||||
"os" '((lambda () (interactive) (org-store-link)) :which-key "store link")
|
"os" '((lambda () (interactive) (org-store-link)) :which-key "store link")
|
||||||
"od" '((lambda () (interactive) (org-babel-demarcate-block)) :which-key "demarcate (split) src-block")
|
"od" '((lambda () (interactive) (org-babel-demarcate-block)) :which-key "demarcate (split) src-block")
|
||||||
"on" '((lambda () (interactive) (nixpkgs-fmt-region)) :which-key "format nix-block")
|
"on" '((lambda () (interactive) (nixpkgs-fmt-region)) :which-key "format nix-block")
|
||||||
;; "c" '(:ignore c :which-key "capture")
|
"c" '(:ignore c :which-key "capture")
|
||||||
|
"ct" '((lambda () (interactive) (org-capture nil "tt")) :which-key "task")
|
||||||
;; "cj" '((lambda () (interactive) (org-capture nil "jj")) :which-key "journal")
|
;; "cj" '((lambda () (interactive) (org-capture nil "jj")) :which-key "journal")
|
||||||
;; "cs" '(markdown-download-screenshot :which-key "screenshot")
|
;; "cs" '(markdown-download-screenshot :which-key "screenshot")
|
||||||
"l" '(:ignore l :which-key "links")
|
"l" '(:ignore l :which-key "links")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue