Skip to content

js-ts-mode seems to override the nice xref-find-definitions keybinding #1348

Closed Answered by trev-dev
trev-dev asked this question in Q&A
Discussion options

You must be logged in to vote
(defun td-syntax-js-fixes ()
  (local-set-key (kbd "M-.") #'xref-find-definitions))
(add-hook 'js-ts-mode-hook 'td-syntax-js-fixes)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by trev-dev
Comment options

You must be logged in to vote
1 reply
@trev-dev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants