1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-28 05:27:06 -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 #+BEGIN_SRC emacs-lisp
(use-package rmsbolt (use-package rmsbolt
:pin melpa :pin melpa
:commands :commands rmsbolt-mode)
(rmsbolt-starter
rmsbolt-mode))
#+END_SRC #+END_SRC
** Syntax checking ** Syntax checking
*** Flycheck *** Flycheck
@ -867,9 +865,9 @@ company-auctex for completion.
#+END_SRC #+END_SRC
*** C/C++ *** C/C++
**** Irony
Irony handles enhanced C/C++ operations powered by clang Irony handles enhanced C/C++ operations powered by clang
company-irony for company integration company-irony for company integration
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package irony (use-package irony
:after counsel :after counsel
@ -886,5 +884,10 @@ company-irony for company integration
(use-package flycheck-irony (use-package flycheck-irony
:hook (irony-mode . flycheck-irony-setup)) :hook (irony-mode . flycheck-irony-setup))
#+END_SRC #+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