From d5bffb7812311d398154b0b739c4240f5f601796 Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Thu, 6 Jun 2019 21:58:23 +0300 Subject: [PATCH] Move swiper to hydra and under modifier keys --- 02ivy.el | 2 +- 03hydra.el | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/02ivy.el b/02ivy.el index a9dcdc5..754fde0 100644 --- a/02ivy.el +++ b/02ivy.el @@ -7,7 +7,7 @@ (global-set-key (kbd "C-c b") 'ivy-switch-buffer) (global-set-key (kbd "C-c t") 'counsel-find-file) -(global-set-key (kbd "C-s") 'swiper) ;; Find things by regexp +(global-set-key (kbd "C-c C-s") 'swiper) ;; Find things by regexp (global-set-key (kbd "M-x") 'counsel-M-x) ;; M-x on steroids (global-set-key (kbd " f") 'counsel-describe-function) diff --git a/03hydra.el b/03hydra.el index aa1a35f..9701b66 100644 --- a/03hydra.el +++ b/03hydra.el @@ -39,6 +39,7 @@ _r_: regex replace _m_: company _i_: indent region _a_: align regexp _e_: eval region +_s_: swiper " ("q" nil "cancel" :color pink) @@ -47,6 +48,7 @@ _e_: eval region ("i" indent-region) ("a" align-regexp) ("e" eval-region) + ("s" swiper) ("y" company-yasnippet) ("m" company-complete))