diff --git a/.emacs.d/init.el b/.emacs.d/init.el index fe8355b..ca3e946 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -118,14 +118,14 @@ :bind ("C-'" . avy-goto-char-2)) (use-package counsel :quelpa + :bind ("M-x" . counsel-M-x) + :bind ("C-M-y" . counsel-yank-pop) :config (setq ivy-re-builders-alist '((counsel-M-x . ivy--regex-fuzzy) (t . ivy--regex-plus))) (assq-delete-all 'counsel-M-x ivy-initial-inputs-alist) - (global-set-key (kbd "C-c C-c M-x") 'execute-extended-command) ;;normal M-x. - :bind ("M-x" . counsel-M-x) - :bind ("C-M-y" . counsel-yank-pop)) + (global-set-key (kbd "C-c C-c M-x") 'execute-extended-command)) ;;normal M-x.) (use-package ace-window :quelpa :bind ("M-p" . ace-window)) @@ -299,12 +299,12 @@ (call-interactively 'company-yasnippet))) (use-package swiper + :bind ("C-s" . swiper) + :bind ("C-r" . swiper) :init (global-set-key (kbd "C-S-s") 'isearch-forward) (global-set-key (kbd "C-S-r") 'isearch-backward) - (ivy-mode 1) - :bind ("C-s" . swiper) - :bind ("C-r" . swiper)) + (ivy-mode 1)) (use-package highlight-indent-guides :config