From b6323197967f4457bc241dd2bdc43cb833f7cf60 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 6 May 2017 22:55:41 +0200 Subject: [PATCH] completion/ivy: add docstrings to evil funcs --- modules/completion/ivy/autoload/evil.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/completion/ivy/autoload/evil.el b/modules/completion/ivy/autoload/evil.el index 2ce329c5d..b2d837c11 100644 --- a/modules/completion/ivy/autoload/evil.el +++ b/modules/completion/ivy/autoload/evil.el @@ -8,7 +8,10 @@ mode, use the selection, otherwise activate live ag searching in helm. If REGEX-P is non-nil, SEARCH will be treated as a regular expression. -DIR specifies the default-directory from which ag is run." +DIR specifies the default-directory from which ag is run. + +If there is no selection and SEARCH is empty, then relaunch the previous search +session." :type inclusive :repeat nil (interactive "") (let ((search (or search @@ -23,6 +26,8 @@ DIR specifies the default-directory from which ag is run." ;;;###autoload (autoload '+ivy:file-search-cwd "completion/ivy/autoload/evil" nil t) (evil-define-operator +ivy:file-search-cwd (beg end search regex-p) + "Perform a `counsel-rg' search for SEARCH (or the current selection) in +`default-directory'." :type inclusive :repeat nil (interactive "") (+ivy:file-search beg end search regex-p default-directory))