1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-24 04:22:50 -05:00

Add c++-mode rmsbolt hotleys

This commit is contained in:
Jack Foltz 2018-11-05 16:48:52 -05:00
parent f3d277d3ed
commit f44c035183
Signed by: foltik
GPG Key ID: 303F88F996E95541

View File

@ -674,9 +674,7 @@ Built into emacs since 24.1
#+BEGIN_SRC emacs-lisp
(use-package rmsbolt
:pin melpa
:commands
(rmsbolt-starter
rmsbolt-mode))
:commands rmsbolt-mode)
#+END_SRC
** Syntax checking
*** Flycheck
@ -867,9 +865,9 @@ company-auctex for completion.
#+END_SRC
*** C/C++
**** Irony
Irony handles enhanced C/C++ operations powered by clang
company-irony for company integration
#+BEGIN_SRC emacs-lisp
(use-package irony
:after counsel
@ -886,5 +884,10 @@ company-irony for company integration
(use-package flycheck-irony
:hook (irony-mode . flycheck-irony-setup))
#+END_SRC
**** Hotkeys
#+BEGIN_SRC emacs-lisp
(foltz-major-def
:keymaps '(c++-mode-map c-mode-map)
"r" 'rmsbolt-mode
"c" 'rmsbolt-compile)
#+END_SRC