Commit 039fdab17ede

Vincent Demeester <vincent@sbr.pm>
2024-08-06 17:42:40
tools/emacs: add casual-bookmarks and casual-re-builder
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent c05e522
Changed files (4)
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
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)
 
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
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