Switch to regular find-file for now

This commit is contained in:
Curt Spark 2024-12-13 16:25:51 +00:00
parent 477c1b7b20
commit 60d3301557
1 changed files with 17 additions and 13 deletions

View File

@ -695,19 +695,23 @@ Install the package, enable it and ensure that it always is installed:
;; Remove commands that only work with key bindings
(put 'counsel-find-symbol 'no-counsel-M-x t)
:bind (("M-x" . counsel-M-x)
("C-x f" . counsel-find-file)
("s-f" . counsel-find-file)
("s-F" . find-file-other-window)
("C-x b" . ivy-switch-buffer)
("s-b" . ivy-switch-buffer)
("C-x B" . counsel-switch-buffer-other-window)
("s-B" . counsel-switch-buffer-other-window)
("C-x d" . counsel-dired)
("s-d" . counsel-dired)
("s-D" . dired-other-window)
("C-x C-r" . counsel-recentf)
("s-r" . counsel-recentf)
("s-y" . counsel-yank-pop)
;; This doesnt work with lsp-bridge over TRAMP, i'll just disable for now.
;; ("C-x f" . counsel-find-file)
("C-x f" . find-file)
("s-f" . counsel-find-file)
("s-F" . find-file-other-window)
("C-x b" . ivy-switch-buffer)
("s-b" . ivy-switch-buffer)
("C-x B" . counsel-switch-buffer-other-window)
("s-B" . counsel-switch-buffer-other-window)
("C-x d" . counsel-dired)
("s-d" . counsel-dired)
("s-D" . dired-other-window)
("C-x C-r" . counsel-recentf)
("s-r" . counsel-recentf)
("s-y" . counsel-yank-pop)
("C-h f" . counsel-describe-function)
("C-h v" . counsel-describe-variable)
("C-s" . counsel-rg)