Fix buffer-switching and get rid of ibuffer

This commit is contained in:
MitchMarq42 2022-09-29 06:18:28 -08:00
parent 4503f441cd
commit f586cc1753
2 changed files with 5 additions and 6 deletions

View File

@ -32,7 +32,7 @@
:non-normal-prefix "SPC" :non-normal-prefix "SPC"
"w" 'evil-window-map "w" 'evil-window-map
"h" 'help-command "h" 'help-command
"b" 'ibuffer "b" 'switch-to-buffer
"g" 'magit "g" 'magit
"SPC" 'evil-buffer) "SPC" 'evil-buffer)
;; SPC shortcuts for lisp. Works with anything that uses the default emacs binds ;; SPC shortcuts for lisp. Works with anything that uses the default emacs binds

View File

@ -47,10 +47,6 @@
:hook (prog-mode . whitespace-mode) :hook (prog-mode . whitespace-mode)
;; :config (global-whitespace-mode t) ;; :config (global-whitespace-mode t)
) )
(use-package ibuffer
:straight (:type built-in)
:commands ibuffer
:custom (ibuffer-use-other-window t))
(use-package image-mode (use-package image-mode
:straight (:type built-in) :straight (:type built-in)
:config :config
@ -217,7 +213,10 @@ Otherwise, kill back 1 letter."
:config :config
(vertico-mouse-mode)) (vertico-mouse-mode))
(use-package consult (use-package consult
:after vertico) :after vertico
:general
(general-define-key
[remap switch-to-buffer] 'consult-buffer))
;; Minibuffer generic stuff ;; Minibuffer generic stuff
(use-package marginalia (use-package marginalia
;; :custom (marginalia-separator " ") ;; :custom (marginalia-separator " ")