Add bindings for muscle memory that I can't get over

This commit is contained in:
Vedang Manerikar 2024-11-17 08:03:28 +05:30
parent 7725ff1dce
commit e39ad32071
2 changed files with 10 additions and 2 deletions

View file

@ -1626,6 +1626,7 @@ Also check: [[#h:e0f9c30e-3a98-4479-b709-7008277749e4][The =unravel-search.el= m
:hook (completion-list-mode . consult-preview-at-point-mode)
:bind
(:map global-map
;; Prot's bindings
("M-K" . consult-keep-lines) ; M-S-k is similar to M-S-5 (M-%)
("M-F" . consult-focus-lines) ; same principle
("M-s M-b" . consult-buffer)
@ -1637,7 +1638,7 @@ Also check: [[#h:e0f9c30e-3a98-4479-b709-7008277749e4][The =unravel-search.el= m
("M-s M-m" . consult-mark)
("M-s M-y" . consult-yank-pop)
("M-s M-s" . consult-outline)
;; C-x bindings in `ctl-x-map'
;; Overriding defaults: C-x bindings in `ctl-x-map'
("C-x M-:" . consult-complex-command) ;; orig. repeat-complex-command
("C-x b" . consult-buffer) ;; orig. switch-to-buffer
("C-x 4 b" . consult-buffer-other-window) ;; orig. switch-to-buffer-other-window
@ -1657,6 +1658,9 @@ Also check: [[#h:e0f9c30e-3a98-4479-b709-7008277749e4][The =unravel-search.el= m
("M-g g" . consult-goto-line) ;; orig. goto-line
("M-g M-g" . consult-goto-line) ;; orig. goto-line
("M-g o" . consult-outline) ;; Alternative: consult-org-heading
;; My bindings from my Helm workflow
("C-x c i" . consult-imenu)
("C-c s" . consult-ripgrep)
:map consult-narrow-map
("?" . consult-narrow-help))
:config

View file

@ -194,6 +194,7 @@
:hook (completion-list-mode . consult-preview-at-point-mode)
:bind
(:map global-map
;; Prot's bindings
("M-K" . consult-keep-lines) ; M-S-k is similar to M-S-5 (M-%)
("M-F" . consult-focus-lines) ; same principle
("M-s M-b" . consult-buffer)
@ -205,7 +206,7 @@
("M-s M-m" . consult-mark)
("M-s M-y" . consult-yank-pop)
("M-s M-s" . consult-outline)
;; C-x bindings in `ctl-x-map'
;; Overriding defaults: C-x bindings in `ctl-x-map'
("C-x M-:" . consult-complex-command) ;; orig. repeat-complex-command
("C-x b" . consult-buffer) ;; orig. switch-to-buffer
("C-x 4 b" . consult-buffer-other-window) ;; orig. switch-to-buffer-other-window
@ -225,6 +226,9 @@
("M-g g" . consult-goto-line) ;; orig. goto-line
("M-g M-g" . consult-goto-line) ;; orig. goto-line
("M-g o" . consult-outline) ;; Alternative: consult-org-heading
;; My bindings from my Helm workflow
("C-x c i" . consult-imenu)
("C-c s" . consult-ripgrep)
:map consult-narrow-map
("?" . consult-narrow-help))
:config