]> code.delx.au - gnu-emacs-elpa/commit
ivy-occur-mode: new commands on "j", "k", "c"
authorOleh Krehel <ohwoeowho@gmail.com>
Wed, 2 Mar 2016 11:17:05 +0000 (12:17 +0100)
committerOleh Krehel <ohwoeowho@gmail.com>
Wed, 2 Mar 2016 11:17:05 +0000 (12:17 +0100)
commit1c45b2940432fa0ee08ec3acfc151e556939308a
treeea8c1b0a1c6ef8ac41ed2bf8f1da3410a0886c81
parent8f527d7b42dd30db6b48dee064714a584570c9fe
ivy-occur-mode: new commands on "j", "k", "c"

* ivy.el (ivy-calling): Make variable buffer-local.
(ivy-occur-toggle-calling): New command bound to "c".
(ivy-occur-next-line): New command bound to "j".
(ivy-occur-previous-line): New command bound to "k".

This makes `ivy-occur' much more convenient, instead of "gjgjgjg", just
"cjjj". Especially good for commands that change the contents of the
other window, like `describe-function' or `counsel-git-grep'.

Example:

- "C-h f" (`describe-funtion')
- "run" (`self-insert-command')
- "C-c C-o" (`ivy-occur'); "C-o u" also works.
- "cjjjjkkkk"
ivy.el