diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-01-01 17:38:18 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-01-01 17:38:47 -0500 |
commit | bfd1ded1fe13b53f20db00871c204db7ad4287b7 (patch) | |
tree | 3084fa0fc719fa0d2c504377b2c4785e9608bbbb /init | |
parent | 02d56a9878c07cca3f1d856be2929afe28d33033 (diff) | |
download | emacs.d-bfd1ded1fe13b53f20db00871c204db7ad4287b7.tar.gz |
Revert "Add query and replace command to projectile"
I should have looked more closely at the current projectile commands.
`projectile-replace' takes care of this nicely.
This reverts commit 02d56a9878c07cca3f1d856be2929afe28d33033.
Diffstat (limited to 'init')
-rw-r--r-- | init/km-projectile.el | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/init/km-projectile.el b/init/km-projectile.el index 98bb837..2ad41b1 100644 --- a/init/km-projectile.el +++ b/init/km-projectile.el @@ -21,21 +21,3 @@ I have set `projectile-switch-project-action' to 'km/projectile-switch-project-to-file) (setq projectile-use-git-grep t) - -(defun km/projectile-query-and-replace (from to &optional delimited) - "Peform query and replace on current project files. - -Core logic taken from `dired-do-query-replace-regexp', replacing -the marked dired file list with the list from -`projectile-current-project-files'." - (interactive - (let ((common - (query-replace-read-args - "Query replace regexp in project files" t t))) - (list (nth 0 common) (nth 1 common) (nth 2 common)))) - (projectile-with-default-dir (projectile-project-root) - (tags-query-replace from to delimited - '(projectile-current-project-files)))) - -(define-key projectile-mode-map (kbd "C-c p q") - 'km/projectile-query-and-replace) |