diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2016-10-18 07:24:42 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2016-10-18 08:43:51 +0200 |
commit | e84523bde908df5e88cb3ed636e100ca14806fe5 (patch) | |
tree | 47401b41c478e9c76de1030e2d530dd5faa03e8a /helm-grep.el | |
parent | bb8ac7b757174c413fa3a51c75a621553686cb21 (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-grep.el')
-rw-r--r-- | helm-grep.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/helm-grep.el b/helm-grep.el index bdebca34..4e694b2f 100644 --- a/helm-grep.el +++ b/helm-grep.el @@ -254,7 +254,6 @@ Possible value are: (define-key map (kbd "M-<up>") 'helm-goto-precedent-file) (define-key map (kbd "C-c o") 'helm-grep-run-other-window-action) (define-key map (kbd "C-c C-o") 'helm-grep-run-other-frame-action) - (define-key map (kbd "C-w") 'helm-yank-text-at-point) (define-key map (kbd "C-x C-s") 'helm-grep-run-save-buffer) (when helm-grep-use-ioccur-style-keys (define-key map (kbd "<right>") 'helm-execute-persistent-action) @@ -267,7 +266,6 @@ Possible value are: (set-keymap-parent map helm-map) (define-key map (kbd "M-<down>") 'helm-goto-next-file) (define-key map (kbd "M-<up>") 'helm-goto-precedent-file) - (define-key map (kbd "C-w") 'helm-yank-text-at-point) map) "Keymap used in pdfgrep.") |