New binding for find-tag-no-prompt
I don't use it /very/ often, so M-t M-t is a fine choice. 't' in the M-t prefix is an easy mnemonic for tag commands, too.
This commit is contained in:
parent
85628eb1da
commit
21773ec4ee
4
init.el
4
init.el
|
@ -138,13 +138,13 @@
|
|||
|
||||
;;;; Vim-style prompt-less tag jumping
|
||||
;;;; http://stackoverflow.com/questions/12074897/automatically-jump-to-tag-in-emacs
|
||||
(global-unset-key (kbd "M-t"))
|
||||
(defun find-tag-no-prompt ()
|
||||
"Jump to the tag at point without prompting"
|
||||
(interactive)
|
||||
(find-tag (find-tag-default)))
|
||||
(global-set-key (kbd "M-.") 'find-tag-no-prompt)
|
||||
(global-set-key (kbd "M-t M-t") 'find-tag-no-prompt)
|
||||
|
||||
;;;; Custom keys
|
||||
(global-set-key (kbd "C-x C-1") 'delete-other-windows)
|
||||
(global-set-key (kbd "C-x C-2") 'split-window-below)
|
||||
(global-set-key (kbd "C-x C-3") 'split-window-right)
|
||||
|
|
Loading…
Reference in New Issue