[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master a8857c1 4/8: * README.rst (Usage): Mention ack-minibuffer-
From: |
João Távora |
Subject: |
[elpa] master a8857c1 4/8: * README.rst (Usage): Mention ack-minibuffer-setup-hook. |
Date: |
Fri, 15 Mar 2019 18:33:10 -0400 (EDT) |
branch: master
commit a8857c1fd69bc7c1c9fbb97d3f37c470979dc954
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
* README.rst (Usage): Mention ack-minibuffer-setup-hook.
---
README.rst | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/README.rst b/README.rst
index 9d4e14f..3a8c1f5 100644
--- a/README.rst
+++ b/README.rst
@@ -58,6 +58,16 @@ key bindings may be useful:
the minibuffer
- ``TAB`` => completion for ack options
+If you use the above keybindings very often, stick the corresponding
+command names in ``ack-minibuffer-setup-hook``. The following snippet
+makes ``M-x ack`` insert a ``git|hg|bzr grep`` template if searching
+from a project root. Then it will try to insert the symbol at point.
+
+.. code-block:: lisp
+ (add-hook 'ack-minibuffer-setup-hook 'ack-skel-vc-grep t)
+ (add-hook 'ack-minibuffer-setup-hook 'ack-yank-symbol-at-point t)
+
+
Emacs23
-------
@@ -71,4 +81,4 @@ https://github.com/leoliu/ack-el/issues
Contributors
------------
-Phillip Lord
+Phillip Lord. The original author and previous mantainer is Leo Liu.
- [elpa] master updated (dd10f4a -> 5c25a7d), João Távora, 2019/03/15
- [elpa] master 5c25a7d 8/8: Update packages/ack from upstream, João Távora, 2019/03/15
- [elpa] master ac696cd 6/8: Fix search directly from *ack* but in different dir, João Távora, 2019/03/15
- [elpa] master bc671ba 7/8: * ack.el (Version): Bump to 1.6, João Távora, 2019/03/15
- [elpa] master 6c65a62 5/8: * README.rst (Usage): fix rst formatting, João Távora, 2019/03/15
- [elpa] master a8857c1 4/8: * README.rst (Usage): Mention ack-minibuffer-setup-hook.,
João Távora <=
- [elpa] master 47a417d 3/8: Make myself the maintainer of this project, João Távora, 2019/03/15
- [elpa] master c84b434 1/8: Nicer behaviour from ack-skel-vc-grep when used in setup hook, João Távora, 2019/03/15
- [elpa] master 382109a 2/8: ack-skel-vc-grep recalls previously inserted symbol, if any, João Távora, 2019/03/15