Skip to content

Commit

Permalink
feat(emacs): rename-buffer: add keybinding
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoke committed Sep 26, 2024
1 parent ed5f24d commit f3db19f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/nixos/programs/emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
:prefix "SPC m"
:global-prefix "C-SPC m"))

(use-package emacs
:ensure nil
:general
(gg/leader
"B r" #'rename-buffer))

(use-package undo-tree
:custom
(undo-tree-enable-undo-in-region t)
Expand Down Expand Up @@ -699,7 +705,7 @@
(gg/leader
"SPC" #'consult-projectile
"C-SPC" #'consult-projectile
"B" #'consult-projectile-switch-to-buffer
"B p" #'consult-projectile-switch-to-buffer
"b" #'consult-buffer)
(general-def projectile-command-map
"p" #'consult-projectile-switch-project))
Expand Down

0 comments on commit f3db19f

Please sign in to comment.