aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules/bard-emacs-lang.el
diff options
context:
space:
mode:
Diffstat (limited to 'bard-emacs-modules/bard-emacs-lang.el')
-rw-r--r--bard-emacs-modules/bard-emacs-lang.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/bard-emacs-modules/bard-emacs-lang.el b/bard-emacs-modules/bard-emacs-lang.el
index 4ee0ff6..b8da4f4 100644
--- a/bard-emacs-modules/bard-emacs-lang.el
+++ b/bard-emacs-modules/bard-emacs-lang.el
@@ -41,6 +41,8 @@
;; (add-hook 'c++-mode-hook 'bard/c++-mode-keybindings)
(add-hook 'c++-mode 'bard/common-modes-hook)
(setq-default c-basic-offset 4)
+(with-eval-after-load "c++-mode"
+ (define-key c++-mode-map (kbd "C-c C-s") #'consult-ripgrep))
;; Haskell
;; (add-to-list 'company-backends 'company-dabbrev-code)