Map perspective mode to 'C-c w' to make room for rg's 'C-c p s'

This commit is contained in:
Sameer Rahmani 2024-05-02 12:57:59 +01:00
parent 5ebb68c2ef
commit 9453925e34
Signed by: lxsameer
GPG Key ID: 8741FACBF412FFA5
2 changed files with 5 additions and 29 deletions

View File

@ -50,37 +50,13 @@
(global-origami-mode t))
;; (use! which-key
;; "which-key is a minor mode for Emacs that displays the key bindings following
;; your currently entered incomplete command (a prefix) in a popup. For example,
;; after enabling the minor mode if you enter ~C-x~ and wait for the default of
;; 1 second the minibuffer will expand with all of the available key bindings
;; that follow ~C-x~ (or as many as space allows given your settings).
;; This includes prefixes like ~C-x 8~ which are shown in a different face."
;; :config
;; (which-key-setup-side-window-bottom)
;; (which-key-mode))
;; (use! projectile
;; "Projectile is a project interaction library for Emacs. Its goal is to provide
;; a nice set of features operating on a project level without introducing
;; external dependencies."
;; :hook (emacs-startup . projectile-mode)
;; :config
;; ;; We don't want the auto discovery on startup
;; (setq projectile-auto-discover nil)
;; (setq projectile-enable-caching t)
;; :bind (:map projectile-mode-map
;; ("s-p" . projectile-command-map)
;; ("C-c p" . projectile-command-map)))
(use! rg
"A ripgrep based search utility."
:commands rg-menu
:bind ("C-c s" . rg-menu))
:bind
("C-c s" . rg-menu)
("C-c p s" . rg-dwim-project-dir))
(use! pkg-info
"`pkg-info' integration.")

View File

@ -33,7 +33,7 @@
:bind
("C-x C-b" . persp-list-buffers)
:custom
(persp-mode-prefix-key (kbd "C-c p")))
(persp-mode-prefix-key (kbd "C-c w")))
(provide 'fg42/workspace)