diff --git a/README.org b/README.org index e872067b..a8a00b3b 100644 --- a/README.org +++ b/README.org @@ -62,6 +62,7 @@ Date: Sat, 27 Apr 2024 22:36:33 -0500 - [[#languagetool][LanguageTool]] - [[#qrencode][qrencode]] - [[#org-bible][Org Bible]] + - [[#emacs-as-rpg][Emacs as RPG]] - [[#performance][Performance]] - [[#logging][Logging]] - [[#early-init][Early Init]] @@ -705,7 +706,7 @@ This evil-collection package includes a lot of other evil based things. "xx" '(guix :which-key "guix") "sp" '(:ignore t :which-key "passwords") "bs" '(consult-buffer :which-key "buffer search") - "bd" '(kill-this-buffer :which-key "kill buffer") + "bd" '(kill-current-buffer :which-key "kill buffer") "bi" '(ibuffer :which-key "ibuffer") "tt" '(consult-theme :which-key "choose theme") "tl" '(toggle-truncate-lines :which-key "truncate lines") @@ -3230,7 +3231,7 @@ Since I like to make my window manager handle a lot of the window management, I (defun chris/kill-buffer-frame () "Kills the active buffer and frame" (interactive) - (kill-this-buffer) + (kill-current-buffer) (delete-frame)) #+end_src @@ -3961,7 +3962,7 @@ I'm making a small function in here to open files in the appropriate program usi :keymaps 'override "sF" '(fd-dired :which-key "search in directory with fd")) ('normal dired-mode-map - "q" 'kill-this-buffer + "q" 'kill-current-buffer "C-" 'chris/dired-open-xdg "M-" 'ffap-other-window "h" 'dired-up-directory @@ -4404,7 +4405,7 @@ Let's add org-msg to write emails in org-mode :keymaps 'override "oc" 'chris/calfw-calendar-open) (general-def cfw:calendar-mode-map - "q" 'kill-this-buffer + "q" 'kill-current-buffer "RET" 'cfw:show-details-command) (general-def 'normal cfw:details-mode-map "q" 'cfw:details-kill-buffer-command)) @@ -4821,7 +4822,7 @@ With empv we can perhaps control mpv much more fine grainly and even search yout (general-def :states 'normal :keymaps 'empv-youtube-results-mode-map - "q" 'kill-this-buffer + "q" 'kill-current-buffer "RET" 'empv-youtube-results-play-or-enqueue-current "i" 'empv-youtube-results-inspect "d" 'chris/empv-yt-dlp @@ -5444,6 +5445,19 @@ Org Bible is going to be set of functions for creating and using a bible app wit #+begin_src emacs-lisp (load (concat user-emacs-directory "bible.el")) #+end_src +** Emacs as RPG +Using emacs to run rpg things +#+begin_src emacs-lisp +(add-to-list 'load-path "/home/chris/dev/emacs-rpgdm/") +(use-package rpgdm + :general + (chris/leader-keys + :states 'normal + :keymaps 'override + "a" '(:ignore t :which-key "RPGDM") + "ar" '(rpgdm-roll :which-key "roll") + "aa" '(hydra-rpgdm/body :which-key "hydra"))) +#+end_src ** Performance Here we have a bunch of performance tweaks diff --git a/init.el b/init.el index a662da47..782c003f 100644 --- a/init.el +++ b/init.el @@ -438,7 +438,7 @@ "xx" '(guix :which-key "guix") "sp" '(:ignore t :which-key "passwords") "bs" '(consult-buffer :which-key "buffer search") - "bd" '(kill-this-buffer :which-key "kill buffer") + "bd" '(kill-current-buffer :which-key "kill buffer") "bi" '(ibuffer :which-key "ibuffer") "tt" '(consult-theme :which-key "choose theme") "tl" '(toggle-truncate-lines :which-key "truncate lines") @@ -2398,7 +2398,7 @@ targets." (defun chris/kill-buffer-frame () "Kills the active buffer and frame" (interactive) - (kill-this-buffer) + (kill-current-buffer) (delete-frame)) (use-package ace-window @@ -2920,7 +2920,7 @@ targets." :keymaps 'override "sF" '(fd-dired :which-key "search in directory with fd")) ('normal dired-mode-map - "q" 'kill-this-buffer + "q" 'kill-current-buffer "C-" 'chris/dired-open-xdg "M-" 'ffap-other-window "h" 'dired-up-directory @@ -3245,7 +3245,7 @@ targets." :keymaps 'override "oc" 'chris/calfw-calendar-open) (general-def cfw:calendar-mode-map - "q" 'kill-this-buffer + "q" 'kill-current-buffer "RET" 'cfw:show-details-command) (general-def 'normal cfw:details-mode-map "q" 'cfw:details-kill-buffer-command)) @@ -3572,7 +3572,7 @@ targets." (general-def :states 'normal :keymaps 'empv-youtube-results-mode-map - "q" 'kill-this-buffer + "q" 'kill-current-buffer "RET" 'empv-youtube-results-play-or-enqueue-current "i" 'empv-youtube-results-inspect "d" 'chris/empv-yt-dlp @@ -4013,6 +4013,16 @@ interfere with the default `bongo-playlist-buffer'." (load (concat user-emacs-directory "bible.el")) +(add-to-list 'load-path "/home/chris/dev/emacs-rpgdm/") +(use-package rpgdm + :general + (chris/leader-keys + :states 'normal + :keymaps 'override + "a" '(:ignore t :which-key "RPGDM") + "ar" '(rpgdm-roll :which-key "roll") + "aa" '(hydra-rpgdm/body :which-key "hydra"))) + ;; Reduce rendering/line scan work for Emacs by not rendering cursors or regions ;; in non-focused windows. (setq-default cursor-in-non-selected-windows nil) diff --git a/recentf b/recentf index d1cb2e11..78448b9c 100644 --- a/recentf +++ b/recentf @@ -1,4 +1,4 @@ -;;; Automatically generated by ‘recentf’ on Wed Feb 21 13:54:13 2024. +;;; Automatically generated by ‘recentf’ on Wed Aug 21 11:42:22 2024. (setq recentf-list '(