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:
parent
f3d277d3ed
commit
f44c035183
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user