mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Use C-c C-j as jump to definition in most languages
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
(use-package avy
|
||||
:bind
|
||||
("C-c C-j" . avy-goto-word-or-subword-1)
|
||||
("C-c j" . avy-goto-word-or-subword-1)
|
||||
("C-c SPC" . avy-goto-char)
|
||||
("M-o" . ace-window)
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
(use-package dumb-jump
|
||||
:bind
|
||||
("C-c d" . dumb-jump-go)
|
||||
("C-c C-j" . dumb-jump-go)
|
||||
("C-c b" . dumb-jump-back)
|
||||
("M-g o" . dumb-jump-go-other-window)
|
||||
("M-g j" . dumb-jump-go)
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
:commands go-mode
|
||||
:bind (:map go-mode-map
|
||||
("RET" . newline-and-indent)
|
||||
("C-c C-j" . avy-goto-word-or-subword-1)
|
||||
("C-h f" . godoc-at-point))
|
||||
|
||||
:hook
|
||||
@@ -71,7 +70,7 @@
|
||||
(use-package go-guru
|
||||
:after go-mode
|
||||
:bind (:map go-mode-map
|
||||
("C-c d" . go-guru-definition)
|
||||
("C-c C-j" . go-guru-definition)
|
||||
("C-c b" . pop-tag-mark))
|
||||
:hook (go-mode . siren-go-guru-setup)
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
(use-package robe
|
||||
:defer t
|
||||
:bind (:map robe-mode-map
|
||||
("C-c d" . robe-jump)
|
||||
("C-c C-j" . robe-jump)
|
||||
("C-c b". pop-tag-mark))
|
||||
:hook (ruby-mode . robe-mode)
|
||||
:config
|
||||
|
||||
Reference in New Issue
Block a user