Commit graph

190 commits

Author SHA1 Message Date
tangxinfa
50b78e27a3 fix: ivy occur requires a extra argument. 2019-11-05 15:21:03 +08:00
ctechols
ace17b9a32
Associate rg's extra actions with rg 2019-10-10 10:27:47 -04:00
Brian Leung
fda7f0bad9 counsel-projectile-org-agenda: Use expand-file-name in predicate. 2019-08-17 03:02:17 +02:00
Eric Danan
90d3792ab9 Bump counsel dependency version 2019-07-24 21:03:28 +02:00
Eric Danan
fb19569c97 Use ivy-more-chars instead of obsolete counsel-more-chars 2019-03-25 09:56:01 +01:00
Eric Danan
a07ddc808b cp-{grep,git-grep,ag,rg}: Fix error when customizing initial-input
Fixes #125.
2019-03-25 09:51:27 +01:00
Ben Ide
e9d3344f84 fixed typo ("capture" -> "agenda") (#123) 2019-03-14 20:50:41 +01:00
Eric Danan
edc60cd429 define string-trim-right locally to support emacs 25
Fixes #122
2019-03-10 23:05:51 +01:00
Eric Danan
d64e5275c5 Release 0.3.0 2019-01-27 14:04:33 +01:00
Eric Danan
1b0cec99fa Require counsel 0.11.0 and projectile 2.0.0 2019-01-27 13:55:50 +01:00
Eric Danan
b3ea4f242d cp-grep: Simplify 2018-12-26 16:14:37 +01:00
Rudi Grinberg
5f554cdca7 Rename counsel-unquote-regex-parens to counsel--elisp-to-pcre
Re-implemented and renamed in:
https://github.com/abo-abo/swiper/pull/1863

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2018-12-24 12:52:20 -05:00
Eric Danan
2ce0efe476 cp-ag, cp-rg: Add ": " at end of prompt
This is necessary following a recent commit in
counsel (055f0e3ac1a9f5de50d15940c0a3b65baf8fd6af)

Fixes #112
2018-11-26 15:41:22 +01:00
bluew
7607fb8bb4 cp-grep: Fix missing spacing 2018-10-20 21:06:31 +02:00
Eric Danan
991b5587c3 Handle new 'prompt value of projectile-require-project-root
Fixes #106
2018-09-22 16:52:59 +02:00
Eric Danan
3ee84f2717 cp-switch-project: Allow setting the default action 2018-09-20 22:54:54 +02:00
Eric Danan
46ca1a7cd9 Fix README typo 2018-09-20 15:10:24 +02:00
Eric Danan
d52b44e31d Update README 2018-09-20 15:08:15 +02:00
Eric Danan
603a7562b2 cp-ag, cp-rg, cp-grep: Add extra actions 2018-09-20 14:32:28 +02:00
Eric Danan
543454f551 cp-org-capture: Add extra-actions
By default, one action to switch project. Can be customized through
the variable `counsel-projectile-org-capture-extra-actions'.
2018-09-19 23:44:15 +02:00
Eric Danan
878f95c55d cp-grep, cp-git-grep: No longer rely counsel-prompt-function
The variable was just removed from counsel
2018-09-06 09:39:42 +02:00
Eric Danan
175b4a7874 cp-git-grep: fix typo 2018-09-03 14:34:35 +02:00
Eric Danan
1467e674a7 cp-rg: Always specify path
Explicitly specify `.` if there is no path specification from the
project dirconfig file. This seems to be needed on Windows (see #100).
2018-09-03 14:30:19 +02:00
Joseph LaFreniere
efa3a2f478 End lists in "Sorting candidates" properly
For GitHub's Markdown renderer to consider a list "finished", the last item in
the list must be followed by an empty line.
2018-09-02 14:57:14 +02:00
Eric Danan
d53ddd591c cp-switch-project: Add projectile-dired action 2018-08-26 16:07:42 +02:00
Eric Danan
ea12b29e7e cp-org-agenda: Don't shadow dynamic var org-keys 2018-08-25 17:04:27 +02:00
Eric Danan
688598eb5a cp-org-agenda: Silence byte-compiler warnings 2018-08-25 16:46:37 +02:00
Eric Danan
cc5e649745 Fix counsel-projectile-map re kill action 2018-08-25 16:28:39 +02:00
Eric Danan
18758602e8 cp-find-file: Add delete action
Make counsel-projectile kill action delete files
Update README
2018-08-22 16:58:08 +02:00
Eric Danan
511f78dd17 README: Update TOC 2018-08-22 02:16:46 +02:00
Eric Danan
96f69f8217 cp-grep, cp-ag, cp-rg: support kept directories
Also support globally ignored file suffixes.

Separate out `counsel-projectile-git-grep` from
`counsel-projectile-grep` and give it a key binding.
2018-08-22 02:04:23 +02:00
Eric Danan
6b69bbf621 Revert "cp-ag, cp-rg: don't respect VCS ignore files"
This reverts commit ffc342bb7c.
2018-08-21 09:43:26 +02:00
Eric Danan
ffc342bb7c cp-ag, cp-rg: don't respect VCS ignore files
Projectile already parses these files to find project ignored files
and directories. Asking ag or rg to parse them prevents project
unignored files and directories to be searched.
2018-08-17 17:22:15 +02:00
Eric Danan
acc0290de7 Revert "cp-rg: search globally unignored files and dirs"
This reverts commit 1e015c5378.
2018-08-17 16:23:50 +02:00
Eric Danan
1e015c5378 cp-rg: search globally unignored files and dirs 2018-08-16 23:26:19 +02:00
Eric Danan
caf0973939 Use * in outline headings 2018-08-15 23:18:30 +02:00
Eric Danan
ab400743e6 cp-find-file-dwim: Add 2018-08-15 16:20:29 +02:00
Eric Danan
842a105af4 README: fix typos 2018-08-15 15:20:57 +02:00
Eric Danan
ff902d5cda cp-rg: remap from projectile-ripgrep 2018-08-15 15:11:47 +02:00
Eric Danan
1ead66f3de bump projectile version requirement 2018-08-15 15:06:28 +02:00
Eric Danan
7b0cdbb0ad README: document breaking change wrt counsel-projectile keymaps 2018-08-15 15:03:50 +02:00
Eric Danan
b1484297c3 cp-mode: use native projectile keymaps 2018-08-15 14:22:22 +02:00
Eric Danan
a091875789 cp-org-agenda: add requier and fix for cp-switch-project 2018-08-01 01:05:14 +02:00
Eric Danan
3aa0d8c1b1 README: fix typo 2018-07-18 17:50:32 +02:00
Eric Danan
6ffcf45767 cp-org-capture: offer both project-specific and regular templates
The regular templates determined by the variables
`org-capture-templates` and `org-capture-templates-contexts` are now
added to the project-specific templates. If not inside a project, the
project templates are ignored. Thus `counsel-projectile-org-capture`
can now systematically be used instead of `org-capture` or `counsel-org-capture`.
2018-07-18 17:42:46 +02:00
Eric Danan
2bb5aab9e8 cp-find-dir: Add display transformer 2018-07-18 16:28:11 +02:00
Eric Danan
390fe57b04 cp-org-agenda: Add 2018-07-17 23:20:31 +02:00
Eric Danan
7751773cb2 cp-grep: Update following upstream change in counsel-more-chars 2018-07-17 15:26:59 +02:00
Eric Danan
9c350a9c0f cp-find-dir: fix typo in "open as root" action fn 2018-07-17 15:21:32 +02:00
Eric Danan
12e5293fce cp-org-capture: Update docstring 2018-07-16 14:20:58 +02:00