emacs: add a few useful counsel-related keybindings
authorAmin Bandali <bandali@gnu.org>
Fri, 10 May 2019 20:15:43 +0000 (16:15 -0400)
committerAmin Bandali <bandali@gnu.org>
Fri, 10 May 2019 20:16:05 +0000 (16:16 -0400)
.emacs.d/init.el

index 8c1ff78..bc58c27 100644 (file)
@@ -672,6 +672,9 @@ For disabling the behaviour for certain buffers and/or modes."
          ("C-c x"                          . counsel-M-x)
          ("C-c f ."                        . counsel-find-file)
          ("C-c f l"                        . counsel-find-library)
          ("C-c x"                          . counsel-M-x)
          ("C-c f ."                        . counsel-find-file)
          ("C-c f l"                        . counsel-find-library)
+         ("C-c f r"                        . counsel-recentf)
+         ("s-."                            . counsel-find-file)
+         ("s-r"                            . ivy-switch-buffer)
          :map minibuffer-local-map
          ("C-r" . counsel-minibuffer-history))
   :config
          :map minibuffer-local-map
          ("C-r" . counsel-minibuffer-history))
   :config