summaryrefslogtreecommitdiff
path: root/helm-locate.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2016-10-18 07:24:42 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2016-10-18 08:43:51 +0200
commite84523bde908df5e88cb3ed636e100ca14806fe5 (patch)
tree47401b41c478e9c76de1030e2d530dd5faa03e8a /helm-locate.el
parentbb8ac7b757174c413fa3a51c75a621553686cb21 (diff)
Allow undoing and redoing yank.
* helm-lib.el (helm-yank-text-at-point): Do it with a negative prefix arg. (helm-undo-yank-text-at-point): New. * helm-grep.el (helm-grep-map): No need to bind helm-yank-text-at-point here. (helm-pdfgrep-map): Same. * helm-locate.el (helm-generic-files-map): Same. * helm-regexp.el (helm-moccur-map): Same. * helm-tags.el (helm-etags-map): Same. * helm.el (helm-map): Use helm-define-key-with-subkeys to bind helm-yank-text-at-point and helm-undo-yank-text-at-point.
Diffstat (limited to 'helm-locate.el')
-rw-r--r--helm-locate.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/helm-locate.el b/helm-locate.el
index ac12a6b5..0327cf4a 100644
--- a/helm-locate.el
+++ b/helm-locate.el
@@ -128,7 +128,6 @@ For Windows and `es' use something like \"es -r ^%s.*%s.*$\"."
(define-key map (kbd "C-c C-x") 'helm-ff-run-open-file-externally)
(define-key map (kbd "C-c X") 'helm-ff-run-open-file-with-default-tool)
(define-key map (kbd "M-.") 'helm-ff-run-etags)
- (define-key map (kbd "C-w") 'helm-yank-text-at-point)
(define-key map (kbd "C-c @") 'helm-ff-run-insert-org-link)
map)
"Generic Keymap for files.")