home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 039fdab17ede559d9e9298bb2fb9cb610756adc3
parent c05e522411ba298001693beca98299717b1ec3f8
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue,  6 Aug 2024 17:42:40 +0200

tools/emacs: add casual-bookmarks and casual-re-builder

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-editing.el | 8++++++++
Mtools/emacs/config/config-navigating.el | 7+++++++
Mtools/emacs/config/config-programming.el | 2+-
Musers/vincent/dev/emacs.nix | 2++
4 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/tools/emacs/config/config-editing.el b/tools/emacs/config/config-editing.el @@ -182,5 +182,13 @@ If region is active, add its contents to the new buffer." :bind (([remap ispell-word] . jinx-correct) ;; ("M-$" . jinx-correct) ("C-M-$" . jinx-languages))) +(use-package re-builder) +(use-package casual-re-builder + :bind (:map + reb-mode-map ("C-o" . casual-re-builder-tmenu) + :map + reb-lisp-mode-map ("C-o" . casual-re-builder-tmenu)) + :after (re-builder)) + (provide 'config-editing) ;;; config-editing.el ends here diff --git a/tools/emacs/config/config-navigating.el b/tools/emacs/config/config-navigating.el @@ -117,6 +117,13 @@ ("g" . Man-update-manpage))) (use-package bookmark+) +(use-package bookmark) +(use-package casual-bookmarks + :bind (:map bookmark-bmenu-mode-map + ("C-o" . casual-bookmarks-tmenu) + ("S" . casual-bookmarks-sortby-tmenu) + ("J" . bookmark-jump)) + :after (bookmark)) (keymap-global-set "S-<down-mouse-2>" 'strokes-do-stroke) diff --git a/tools/emacs/config/config-programming.el b/tools/emacs/config/config-programming.el @@ -48,7 +48,7 @@ (setq pos (match-end 0))) commands)) -;; TODO github run-command: if remote is github.com, add a gh create pr command +;; TODO github run-command: if remote is github.com, add a gh create pr command, and other "goodies"… ;; TODO tektoncd run-command: if project is tektoncd ;; TODO redhat run-command: if it's a redhat project ;; TODO local run-command: figure out how it works diff --git a/users/vincent/dev/emacs.nix b/users/vincent/dev/emacs.nix @@ -68,7 +68,9 @@ let beginend cape casual-avy + casual-bookmarks casual-dired + casual-re-builder conner consult consult-dir