From 6f05616b6022e1029594b8bf107dd5bcbff93db7 Mon Sep 17 00:00:00 2001 From: Aleksei Gusev Date: Sat, 23 Aug 2014 18:59:50 +0300 Subject: [PATCH] Update documentation and tips for projectile keys --- README.md | 7 +++++-- core/prelude-core.el | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a5a1db2..39bb565 100644 --- a/README.md +++ b/README.md @@ -343,7 +343,8 @@ Keybinding | Description C-c p f | Display a list of all files in the project. With a prefix argument it will clear the cache first. C-c p d | Display a list of all directories in the project. With a prefix argument it will clear the cache first. C-c p T | Display a list of all test files(specs, features, etc) in the project. -C-c p g | Run grep on the files in the project. +C-c p s g | Run grep on the files in the project. +M-- C-c p s g | Run grep on `projectile-grep-default-files` in the project. C-c p b | Display a list of all project buffers currently open. C-c p o | Runs `multi-occur` on all project buffers currently open. C-c p r | Runs interactive query-replace on all files in the projects. @@ -352,11 +353,13 @@ Keybinding | Description C-c p k | Kills all project buffers. C-c p D | Opens the root of the project in `dired`. C-c p e | Shows a list of recently visited project files. +C-c p s a | Runs `ack` on the project. Requires the presence of `ack-and-a-half`. +C-c p s s | Runs `ag` on the project. Requires the presence of `ag.el`. C-c p a | Runs `ack` on the project. Requires the presence of `ack-and-a-half`. C-c p c | Runs a standard compilation command for your type of project. C-c p p | Runs a standard test command for your type of project. C-c p z | Adds the currently visited to the cache. -C-c p s | Display a list of known projects you can switch to. +C-c p p | Display a list of known projects you can switch to. Prelude adds an extra keymap prefix `S-p` (`S` stands for `Super`), so you can use `S-p` instead of `C-c p`. diff --git a/core/prelude-core.el b/core/prelude-core.el index dfb87ff..5830d1d 100644 --- a/core/prelude-core.el +++ b/core/prelude-core.el @@ -380,8 +380,8 @@ Doesn't mess with special buffers." (defvar prelude-tips '("Press to open a file with external program." "Press to navigate a project's files with ido." - "Press to run grep on a project." - "Press or to switch between projects." + "Press to run grep on a project." + "Press to switch between projects." "Press to expand the selected region." "Press to search in Google." "Press to search in GitHub."