From 576e03df69e0e58cd18e6faee648528077e63727 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 14 May 2020 11:30:54 +0200 Subject: Remove Ivy and Smex. --- init.org | 44 -------------------------------------------- 1 file changed, 44 deletions(-) diff --git a/init.org b/init.org index 341030b..2bd948f 100644 --- a/init.org +++ b/init.org @@ -75,7 +75,6 @@ To install all packages via GNU Guix I can either use a manifest file or use the emacs-shell-switcher \ emacs-skewer-mode \ emacs-smart-mode-line \ - emacs-smex \ emacs-tagedit \ emacs-tao-theme \ emacs-typo \ @@ -765,48 +764,6 @@ TODO: here’s the rest of my shell configuration: (global-set-key (kbd "C-c m") 'magit-status) #+END_SRC -* Smex and Ivy -:PROPERTIES: -:header-args: :noweb-ref ivy :noweb yes -:END: - -#+BEGIN_SRC elisp -(require 'ivy) -(ivy-mode 1) -(setq ivy-use-virtual-buffers t) -(setq enable-recursive-minibuffers t) -(global-set-key "\C-s" 'swiper) -(global-set-key (kbd "C-c C-r") 'ivy-resume) -(global-set-key (kbd "M-x") 'counsel-M-x) -(global-set-key (kbd "") 'counsel-M-x) -(global-set-key (kbd "C-x C-f") 'counsel-find-file) -(global-set-key (kbd "C-h f") 'counsel-describe-function) -(global-set-key (kbd "C-h v") 'counsel-describe-variable) -(global-set-key (kbd "C-c u") 'counsel-unicode-char) -(global-set-key (kbd "C-c g") 'counsel-git) -(global-set-key (kbd "C-c j") 'counsel-git-grep) -(global-set-key (kbd "C-c k") 'counsel-ag) -(global-set-key (kbd "C-x l") 'counsel-locate) -(define-key minibuffer-local-map (kbd "C-r") 'counsel-minibuffer-history) - -;; open file at point with C-x C-f -;(setq ido-use-filename-at-point 'guess) -#+END_SRC - -Here are some key bindings to use Smex features. - -#+BEGIN_SRC elisp :noweb-ref smex-keys -;(global-set-key (kbd "M-X") 'smex-major-mode-commands) -;(global-set-key (kbd "S-") 'smex-major-mode-commands) -#+END_SRC - -#+BEGIN_SRC elisp :noweb-ref ivy-lazy -(with-eval-after-load "ivy" - <> - ) -<> -#+END_SRC - * Completion :PROPERTIES: :header-args: :noweb-ref completion :noweb yes @@ -1788,7 +1745,6 @@ Having defined named code blocks in the sections above we can finally put them a <> <> <> -<> <> <> <> -- cgit v1.2.3