aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2023-11-15 10:52:25 -0500
committerRyan Kavanagh <rak@rak.ac>2023-11-15 10:52:25 -0500
commit5a2139f02eaca828f9d35547257931bee2e54290 (patch)
treef9589b14bd54a287499b3a36f923df3d06d4a37b
parentdiminish company (diff)
counsel and ivy key bindings
-rw-r--r--dot_emacs.tmpl14
1 files changed, 10 insertions, 4 deletions
diff --git a/dot_emacs.tmpl b/dot_emacs.tmpl
index 6406b6c..1677665 100644
--- a/dot_emacs.tmpl
+++ b/dot_emacs.tmpl
@@ -282,10 +282,14 @@ Extended Format date in the date field and return it as a string obeing
(use-package counsel
:ensure t
:bind
- (("C-x C-b" . counsel-ibuffer)
+ (("C-x b" . counsel-switch-buffer)
+ ("C-x C-b" . counsel-ibuffer)
("C-x C-f" . counsel-find-file)
- ("M-x" . counsel-M-x)
- ("M-y" . counsel-yank-pop))
+ ("M-x" . counsel-M-x)
+ ("M-y" . counsel-yank-pop)
+ ("<f2> i" . counsel-info-lookup-symbol)
+ ("<f2> j" . counsel-set-variable)
+ ("<f2> u" . counsel-unicode-char))
:config
(add-to-list 'ivy-initial-inputs-alist
'(counsel-M-x . "")))
@@ -419,7 +423,9 @@ Extended Format date in the date field and return it as a string obeing
:ensure t
:diminish
:bind
- (("C-c C-r" . ivy-resume))
+ (("C-c v" . ivy-push-view)
+ ("C-c V" . ivy-pop-view)
+ ("C-c C-r" . ivy-resume))
:custom
(ivy-use-virtual-buffers t)
(ivy-count-format "(%d/%d) ")