From dbd8ceda3dcbcb5f09c219650b53386225138850 Mon Sep 17 00:00:00 2001 From: Eric Danan Date: Wed, 13 Apr 2016 10:46:04 +0200 Subject: [PATCH] readme: clarify counsel-projectile actions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e2dec00..9cb454e 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,6 @@ Clone the repository somewhere in your load path. # Usage -The main function is `counsel-projectile`. It starts an `ivy-read` session with the list of `projectile` known projects as candidates. The current project, if any, comes first in this list. The default action switches to the selected project (calling `projectile-switch-project-action`). There are several additional action (eg `projectile-vc`). The action list can be customized since `ivy-read` is called with `:caller 'counsel-projectile`. +The main function is `counsel-projectile`. It starts an `ivy-read` session with the list of `projectile` known projects as candidates. The current project, if any, comes first in this list. The default action switches to the selected project (therefore calling `projectile-switch-project-action`). There are several additional actions to swich project with a specific `projectile-switch-project-action` (eg `projectile-vc`). The action list can be customized since `ivy-read` is called with `:caller 'counsel-projectile`. In the action list, a new function `counsel-projectile-find-file` is used instead of the standard `projectile-find-file`. It simply proposes an additional action to find the file in another window (thus bringing together `projectile-find-file` and `projectile-find-file-other-window`). You may also call this function directly or bind it to some key. Similarly for two other new functions: `counsel-projectile-find-dir` and `counsel-projectile-switch-to-buffer`. \ No newline at end of file