Add counsel commands
This commit is contained in:
@@ -295,6 +295,7 @@
|
|||||||
:bind (("M-x" . counsel-M-x)
|
:bind (("M-x" . counsel-M-x)
|
||||||
("C-x b" . counsel-ibuffer)
|
("C-x b" . counsel-ibuffer)
|
||||||
("C-x C-f" . counsel-find-file)
|
("C-x C-f" . counsel-find-file)
|
||||||
|
("C-x C-g" . counsel-git)
|
||||||
:map minibuffer-local-map
|
:map minibuffer-local-map
|
||||||
("C-r" . 'counsel-minibuffer-history)))
|
("C-r" . 'counsel-minibuffer-history)))
|
||||||
|
|
||||||
@@ -403,16 +404,17 @@
|
|||||||
:straight t
|
:straight t
|
||||||
:general
|
:general
|
||||||
(vim-leader-def 'normal 'global
|
(vim-leader-def 'normal 'global
|
||||||
"gj" 'magit-blame
|
|
||||||
"gc" 'magit-commit
|
|
||||||
"gp" 'magit-push
|
|
||||||
"gu" 'magit-pull
|
|
||||||
"gs" 'magit-status
|
|
||||||
"gd" 'magit-diff
|
|
||||||
"gl" 'magit-log
|
|
||||||
"gc" 'magit-checkout
|
|
||||||
"gb" 'magit-branch
|
"gb" 'magit-branch
|
||||||
"gi" 'magit-gitignore-in-topdir))
|
"gc" 'magit-checkout
|
||||||
|
"gc" 'magit-commit
|
||||||
|
"gd" 'magit-diff
|
||||||
|
"gg" 'counsel-git-grep
|
||||||
|
"gi" 'magit-gitignore-in-topdir
|
||||||
|
"gj" 'magit-blame
|
||||||
|
"gl" 'magit-log
|
||||||
|
"gp" 'magit-push
|
||||||
|
"gs" 'magit-status
|
||||||
|
"gu" 'magit-pull))
|
||||||
|
|
||||||
;; File bar
|
;; File bar
|
||||||
(use-package treemacs
|
(use-package treemacs
|
||||||
|
|||||||
Reference in New Issue
Block a user