um-tag-dwim shouldnt need iro
This commit is contained in:
parent
e27b62f038
commit
6dbfa81607
1 changed files with 1 additions and 3 deletions
4
um.el
4
um.el
|
|
@ -622,8 +622,6 @@ A negative prefix argument moves it backward.
|
||||||
(defun um-copy-line-as-kill () (interactive) (kill-ring-save (pos-bol) (pos-eol))
|
(defun um-copy-line-as-kill () (interactive) (kill-ring-save (pos-bol) (pos-eol))
|
||||||
(message (buffer-substring-no-properties (pos-bol) (pos-eol))))
|
(message (buffer-substring-no-properties (pos-bol) (pos-eol))))
|
||||||
(defun um-yank () (interactive) (um--iro 'yank))
|
(defun um-yank () (interactive) (um--iro 'yank))
|
||||||
(defun um-tag-dwim-iro (arg) (interactive "p")
|
|
||||||
(um--iro 'um-tag-dwim (list arg)))
|
|
||||||
|
|
||||||
;; NOTE: define-derived-mode defines a sparse keymap with the parent mode. But
|
;; NOTE: define-derived-mode defines a sparse keymap with the parent mode. But
|
||||||
;; we can prefill it:
|
;; we can prefill it:
|
||||||
|
|
@ -638,7 +636,7 @@ A negative prefix argument moves it backward.
|
||||||
"C-w" 'um-kill-region
|
"C-w" 'um-kill-region
|
||||||
"w" 'um-copy-line-as-kill
|
"w" 'um-copy-line-as-kill
|
||||||
"C-y" 'um-yank
|
"C-y" 'um-yank
|
||||||
"t" 'um-tag-dwim-iro
|
"t" 'um-tag-dwim
|
||||||
;; g is sidebar-revert-resize to parallel dired:
|
;; g is sidebar-revert-resize to parallel dired:
|
||||||
"M-s g" #'um-grep
|
"M-s g" #'um-grep
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue