Switch last 'define-key's to 'bind-key'
This commit is contained in:
parent
ce2d2cf604
commit
9560dfeb33
@ -146,7 +146,7 @@
|
||||
#'(lambda () (not (member major-mode '(c-mode cc-mode java-mode)))))
|
||||
|
||||
(eval-after-load "cc-mode"
|
||||
'(define-key c-mode-map (kbd "M-.") 'semantic-ia-fast-jump)))
|
||||
'(bind-key "M-." 'semantic-ia-fast-jump c-mode-map)))
|
||||
|
||||
(use-package term
|
||||
:config
|
||||
@ -294,7 +294,7 @@
|
||||
(use-package avy :ensure
|
||||
:config
|
||||
(eval-after-load "isearch"
|
||||
'(define-key isearch-mode-map (kbd "C-'") 'avy-isearch))
|
||||
'(bind-key "C-'" 'avy-isearch isearch-mode-map))
|
||||
:bind (("C-;" . avy-goto-char)
|
||||
("C-'" . avy-goto-char-2)))
|
||||
|
||||
@ -650,8 +650,8 @@
|
||||
(add-hook 'LaTeX-mode-hook
|
||||
'(lambda ()
|
||||
(yas-minor-mode)
|
||||
(define-key company-active-map "<backtab>" 'company-to-yasnippet)
|
||||
(define-key (current-local-map) "<backtab>" 'company-yasnippet)))
|
||||
(bind-key "<backtab>" 'company-to-yasnippet company-active-map)
|
||||
(bind-key "<backtab>" 'company-yasnippet) (current-local-map)))
|
||||
:config
|
||||
(yas-reload-all)
|
||||
(defun company-to-yasnippet ()
|
||||
|
Loading…
Reference in New Issue
Block a user