[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master a267b34 10/67: familiar isearch key bindings while helm is
From: |
Oleh Krehel |
Subject: |
[elpa] master a267b34 10/67: familiar isearch key bindings while helm is active |
Date: |
Sun, 22 Mar 2015 17:33:51 +0000 |
branch: master
commit a267b3436d9267213fe7803b08e17c40afeab8c2
Author: killdash9 <killdash9>
Commit: Oleh Krehel <address@hidden>
familiar isearch key bindings while helm is active
---
swiper.el | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/swiper.el b/swiper.el
index ade9068..3243069 100644
--- a/swiper.el
+++ b/swiper.el
@@ -96,6 +96,13 @@
(zerop (forward-line 1)))
(nreverse candidates))))
+(defvar swiper--keymap
+ (let ((map (copy-keymap helm-map)))
+ (define-key map (kbd "C-s") 'helm-next-line)
+ (define-key map (kbd "C-r") 'helm-previous-line)
+ map)
+ "Allows you to go to next and previous hit isearch-style")
+
;;;###autoload
(defun swiper ()
"Interactive `occur' using `helm'."
@@ -127,6 +134,7 @@
(filtered-candidate-transformer
helm-fuzzy-highlight-matches)
(action . swiper--action))
+ :keymap swiper--keymap
:preselect
(format "^%d " swiper--anchor)
:buffer "*swiper*"))
- [elpa] master updated (5aa7896 -> 302a16a), Oleh Krehel, 2015/03/22
- [elpa] master c990320 02/67: Update call to `font-lock-ensure', Oleh Krehel, 2015/03/22
- [elpa] master 7159d84 03/67: swiper.el (swiper--regex): Zero groups without space, Oleh Krehel, 2015/03/22
- [elpa] master 3a4cb1f 05/67: Add compatibility alias for `font-lock-ensure', Oleh Krehel, 2015/03/22
- [elpa] master fed3aff 04/67: README.md: Add, Oleh Krehel, 2015/03/22
- [elpa] master 16be7e1 01/67: Initial import, Oleh Krehel, 2015/03/22
- [elpa] master ff0ee94 06/67: Add dependency on emacs 24.1, Oleh Krehel, 2015/03/22
- [elpa] master 1c0b30b 07/67: add autoload cookie for lazy loading, Oleh Krehel, 2015/03/22
- [elpa] master 1099ebf 08/67: Use cl-lib macros instead of cl.el, Oleh Krehel, 2015/03/22
- [elpa] master 7b86747 09/67: swiper.el (swiper--regex): Update signature, Oleh Krehel, 2015/03/22
- [elpa] master a267b34 10/67: familiar isearch key bindings while helm is active,
Oleh Krehel <=
- [elpa] master a817342 14/67: ivy.el: Improve the highlighting in the minibuffer, Oleh Krehel, 2015/03/22
- [elpa] master 97ab66a 13/67: README.md: Update, Oleh Krehel, 2015/03/22
- [elpa] master eb829a9 16/67: Account for zero-length regex matches, Oleh Krehel, 2015/03/22
- [elpa] master 9bcf1dc 12/67: Update dependencies., Oleh Krehel, 2015/03/22
- [elpa] master 7cea819 18/67: ivy.el: Add `ivy-exit', Oleh Krehel, 2015/03/22
- [elpa] master eb1def0 17/67: Add initial-input optional argument, Oleh Krehel, 2015/03/22
- [elpa] master 2f5cc11 15/67: swiper.el: Use `with-selected-window' instead of `with-current-buffer', Oleh Krehel, 2015/03/22
- [elpa] master 02065be 19/67: swiper.el: Restore original point on canceling, Oleh Krehel, 2015/03/22
- [elpa] master 6a874a4 11/67: Add `ivy' back end, Oleh Krehel, 2015/03/22
- [elpa] master f268cc8 21/67: Reveal invisible overlays, Oleh Krehel, 2015/03/22