ivy: replace helm with ivy

This commit is contained in:
Artur Manuel 2025-03-22 22:23:34 +00:00
commit 5339e584ea
Signed by: amadaluzia
SSH key fingerprint: SHA256:Zwg7gBuZyaG48ucAZneJwltiXu0+tJb7c3lYt9AYlLg
2 changed files with 29 additions and 12 deletions

View file

@ -5,7 +5,10 @@
:init :init
(setq frame-resize-pixelwise t (setq frame-resize-pixelwise t
window-resize-pixelwise t window-resize-pixelwise t
frame-inhibit-implied-resize t) frame-inhibit-implied-resize t
inhibit-splash-screen t
inhibit-startup-screen t
initial-scratch-message nil)
(defun crm-indicator (args) (defun crm-indicator (args)
(cons (format "[CRM%s] %s" (cons (format "[CRM%s] %s"
(replace-regexp-in-string (replace-regexp-in-string
@ -21,10 +24,7 @@
(menu-bar-mode -1) (menu-bar-mode -1)
(tool-bar-mode -1) (tool-bar-mode -1)
(scroll-bar-mode -1) (scroll-bar-mode -1)
(setq inhibit-splash-screen t (setq enable-recursive-minibuffers t
inhibit-startup-screen t
initial-scratch-message nil
enable-recursive-minibuffers t
read-extended-command-predicate #'command-completion-default-include-p read-extended-command-predicate #'command-completion-default-include-p
tab-always-indent 'complete) tab-always-indent 'complete)
:hook (prog-mode . display-line-numbers-mode)) :hook (prog-mode . display-line-numbers-mode))
@ -32,12 +32,27 @@
(use-package mood-line (use-package mood-line
:hook after-init) :hook after-init)
(use-package helm (use-package ivy
:bind (("C-x C-f" . helm-find-files) :config
("M-x" . helm-M-x) (setq ivy-use-virtual-buffers t)
("M-s o" . helm-occur) :bind (("C-s" . swiper-isearch)
("C-h a" . helm-apropos) ("C-c C-r" . ivy-resume)
("C-x b" . helm-buffers-list)) ("<f6>" . ivy-resume)
("M-x" . counsel-M-x)
("C-x C-f" . counsel-find-file)
("<f1> f" . counsel-describe-function)
("<f1> v" . counsel-describe-variable)
("<f1> o" . counsel-describe-symbol)
("<f1> l" . counsel-find-library)
("<f2> i" . counsel-info-lookup-symbol)
("<f2> u" . counsel-unicode-char)
("C-c g" . counsel-git)
("C-c j" . counsel-git-grep)
("C-c k" . counsel-ag)
("C-x l" . counsel-locate)
("C-S-o" . counsel-rhythmbox)
:map minibuffer-local-map
("C-r" . counsel-minibuffer-history))
:hook after-init) :hook after-init)
(use-package savehist (use-package savehist

View file

@ -29,7 +29,9 @@ let
inherit (epkgs) inherit (epkgs)
spacious-padding spacious-padding
mood-line mood-line
helm ivy
counsel
swiper
base16-theme base16-theme
nix-mode nix-mode
rust-mode rust-mode