From 2c8c0ced07672c59b3bed24b72a8431b556bf91e Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Sun, 23 Jun 2019 17:46:07 +0200 Subject: Emacs: Enable semantic-mode and add srefactor --- dot.emacs.d/init.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dot.emacs.d') diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el index 05c7424..3b8262b 100644 --- a/dot.emacs.d/init.el +++ b/dot.emacs.d/init.el @@ -82,6 +82,11 @@ (make-local-variable company-backends) (add-to-list 'company-backends 'company-jedi)))) +(semantic-mode 1) +(use-package srefactor + :bind (:map c-mode-map + ("M-RET" . #'srefactor-refactor-at-point))) + (use-package mercurial :bind-keymap ("C-c H" . hg-global-map)) -- cgit v1.2.3