Update
This commit is contained in:
@@ -52,9 +52,9 @@
|
||||
(use-package vertico
|
||||
:custom (vertico-count 15)
|
||||
:bind (:map vertico-map
|
||||
("RET" . vertico-directory-enter)
|
||||
("DEL" . vertico-directory-delete-char)
|
||||
("M-DEL" . vertico-directory-delete-word))
|
||||
("RET" . vertico-directory-enter)
|
||||
("DEL" . vertico-directory-delete-char)
|
||||
("M-DEL" . vertico-directory-delete-word))
|
||||
:hook (elpaca-after-init . vertico-mode)
|
||||
:hook (rfn-eshadow-update-overlay . vertico-directory-tidy))
|
||||
|
||||
@@ -112,9 +112,9 @@
|
||||
;; Consulting completing-read
|
||||
(use-package consult
|
||||
:bind (("C-." . consult-imenu)
|
||||
("C-c T" . consult-theme)
|
||||
("C-c T" . consult-theme)
|
||||
|
||||
([remap Info-search] . consult-info)
|
||||
([remap Info-search] . consult-info)
|
||||
;; ([remap isearch-forward] . consult-line)
|
||||
([remap recentf-open-files] . consult-recent-file)
|
||||
|
||||
@@ -138,9 +138,9 @@
|
||||
("M-g k" . consult-global-mark)
|
||||
("M-g i" . consult-imenu)
|
||||
("M-g I" . consult-imenu-multi)
|
||||
|
||||
|
||||
;; M-g bindings in `search-map'
|
||||
("s-f" . consult-line)
|
||||
("s-f" . consult-line)
|
||||
("M-g d" . consult-find) ;; Alternative: consult-fd
|
||||
("M-g c" . consult-locate)
|
||||
("M-g G" . consult-git-grep)
|
||||
@@ -149,8 +149,8 @@
|
||||
("M-g L" . consult-line-multi)
|
||||
("M-g k" . consult-keep-lines)
|
||||
("M-g u" . consult-focus-lines)
|
||||
("C-x C-r" . consult-recent-file)
|
||||
("C-x B" . consult-buffer)
|
||||
("C-x C-r" . consult-recent-file)
|
||||
("C-x b" . consult-buffer)
|
||||
|
||||
("M-g e" . consult-isearch-history)
|
||||
:map isearch-mode-map
|
||||
@@ -223,7 +223,7 @@
|
||||
|
||||
(use-package embark-consult
|
||||
:bind (:map minibuffer-mode-map
|
||||
("C-c C-o" . embark-export))
|
||||
("C-c C-o" . embark-export))
|
||||
:hook (embark-collect-mode . consult-preview-at-point-mode))
|
||||
|
||||
;; Auto completion
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
(yas-expand)))))
|
||||
|
||||
;; Collection of yasnippet snippets
|
||||
(use-package yasnippet-snippets)
|
||||
;; (use-package yasnippet-snippets)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
(use-package ibuffer-projectile
|
||||
:config
|
||||
(add-hook 'ibuffer-hook
|
||||
(lambda ()
|
||||
(ibuffer-projectile-set-filter-groups)
|
||||
(unless (eq ibuffer-sorting-mode 'alphabetic)
|
||||
(ibuffer-do-sort-by-alphabetic)))))
|
||||
(lambda ()
|
||||
(ibuffer-projectile-set-filter-groups)
|
||||
(unless (eq ibuffer-sorting-mode 'alphabetic)
|
||||
(ibuffer-do-sort-by-alphabetic)))))
|
||||
|
||||
(use-package consult-projectile
|
||||
:bind (([remap projectile-find-file] . consult-projectile-find-file)
|
||||
@@ -25,34 +25,12 @@
|
||||
([remap projectile-switch-to-buffer] . consult-projectile-switch-to-buffer)
|
||||
([remap projectile-find-dir] . consult-projectile-find-dir)))
|
||||
|
||||
;; (use-package org-project-capture)
|
||||
|
||||
;; (use-package org-projectile
|
||||
;; :config
|
||||
;; (setq org-project-capture-default-backend
|
||||
;; (make-instance 'org-project-capture-projectile-backend)))
|
||||
|
||||
(global-set-key (kbd "C-x C-b") #'ibuffer)
|
||||
|
||||
;; (use-package beframe
|
||||
;; :hook elpaca-after-init
|
||||
;; :bind (("C-x b" . beframe-switch-buffer)
|
||||
;; ("C-x C-b" . beframe-buffer-menu)
|
||||
;; ("C-x f" . other-frame-prefix))
|
||||
;; :config
|
||||
;; (define-key global-map (kbd "C-c b") #'beframe-prefix-map))
|
||||
|
||||
|
||||
(use-package eyebrowse
|
||||
:hook elpaca-after-init
|
||||
:custom
|
||||
(eyebrowse-new-workspace t))
|
||||
|
||||
(use-package easysession
|
||||
:diminish
|
||||
:demand t
|
||||
;; :hook (elpaca-after-init easysession-scratch-mode)
|
||||
;; :hook (elpaca-after-init easysession-magit-mode)
|
||||
(eyebrowse-new-workspace t)
|
||||
:bind (("s-1" . eyebrowse-switch-to-window-config-1)
|
||||
("s-2" . eyebrowse-switch-to-window-config-2)
|
||||
("s-3" . eyebrowse-switch-to-window-config-3)
|
||||
@@ -60,15 +38,18 @@
|
||||
("s-5" . eyebrowse-switch-to-window-config-5)
|
||||
("s-6" . eyebrowse-switch-to-window-config-6)
|
||||
("s-7" . eyebrowse-switch-to-window-config-7)
|
||||
("s-8" . eyebrowse-switch-to-window-config-8))
|
||||
;; ("C-c C-s l" . easysession-switch-to)
|
||||
;; ("C-c C-s L" . easysession-switch-to-and-restore-geometry)
|
||||
;; ("C-c C-s s" . easysession-save)
|
||||
;; ("C-c C-s r" . easysession-rename)
|
||||
;; ("C-c C-s R" . easysession-reset)
|
||||
;; ("C-c C-s u" . easysession-unload)
|
||||
;; ("C-c C-s d" . easysession-delete))
|
||||
("s-8" . eyebrowse-switch-to-window-config-8)))
|
||||
|
||||
(use-package easysession
|
||||
:diminish
|
||||
:demand t
|
||||
:bind (("C-c C-s l" . easysession-switch-to)
|
||||
("C-c C-s L" . easysession-switch-to-and-restore-geometry)
|
||||
("C-c C-s s" . easysession-save)
|
||||
("C-c C-s r" . easysession-rename)
|
||||
("C-c C-s R" . easysession-reset)
|
||||
("C-c C-s u" . easysession-unload)
|
||||
("C-c C-s d" . easysession-delete))
|
||||
:custom
|
||||
(easysession-switch-to-save-session t)
|
||||
(easysession-switch-to-exclude-current nil)
|
||||
|
||||
Reference in New Issue
Block a user