summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-03-30 20:25:19 +0200
committerAlan Pearce2023-03-30 20:25:19 +0200
commit93ccb9f1cf65160862fc08d9b830989c347d45c8 (patch)
tree38aad0e35dde9c7837ca3bc1f42ddcd125c27aca /user
parent7578a1f8b70615ce7f4d036369ccfe4680268f40 (diff)
downloadnixfiles-93ccb9f1cf65160862fc08d9b830989c347d45c8.tar.lz
nixfiles-93ccb9f1cf65160862fc08d9b830989c347d45c8.tar.zst
nixfiles-93ccb9f1cf65160862fc08d9b830989c347d45c8.zip
emacs: replace swiper with ctrlf
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el6
-rw-r--r--user/settings/emacs.nix2
2 files changed, 3 insertions, 5 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 60256a53..2b55ebac 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -291,10 +291,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
                                    (when (bound-and-true-p smerge-mode)
                                      (unpackaged/smerge-hydra/body)))))
 
-(use-package swiper
-  :general ([remap isearch-forward] #'swiper-isearch)
-  :config (progn
-            (setq ivy-count-format "%d/%d ")))
+(use-package ctrlf
+  :init (ctrlf-mode +1))
 
 
 ;;; Windows
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 9ccb7935..51ce32ca 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -87,6 +87,7 @@ in
         consult-eglot
         counsel
         crux
+        ctrlf
         dired-git-info
         editorconfig
         eglot
@@ -137,7 +138,6 @@ in
         rainbow-delimiters
         ripgrep
         spacemacs-theme
-        swiper
         toml-mode
         tree-sitter
         tree-sitter-langs