Erweiterung Templates und Anpassung Init-Files

This commit is contained in:
knedlik
2026-04-10 23:27:32 +02:00
parent 7be93eb0f9
commit f8d711bb1e
15 changed files with 189 additions and 40 deletions

View File

@@ -19,6 +19,19 @@
(find-file "~/.emacs.d/cheatsheet.org"))
(global-set-key (kbd "C-c c") #'my/open-cheatsheet)
;; consult-ripgrep direkt an Ordner Org binden
(defun my/search-org ()
(interactive)
(consult-ripgrep (expand-file-name "~/org/")))
(global-set-key (kbd "C-c s") #'my/search-org)
;;(global-set-key (kbd "C-c s") #'consult-ripgrep)
(global-set-key (kbd "C-c f") #'consult-line)
(global-set-key (kbd "C-c b") #'consult-buffer)
(global-set-key (kbd "C-c g") #'consult-git-grep)
(global-set-key (kbd "C-c #") #'comment-dwim)
(provide 'init-keybindings)
;;; init-keybindings.el ends here