Need deadgrep and cmake at work

Also trying out realgud
This commit is contained in:
Benson Chu 2023-04-24 15:27:28 -05:00
parent 78ff75bcaf
commit 50a921eb25

View file

@ -45,6 +45,19 @@
(setq request-curl-options '("--noproxy \"*\""))
(setq ein:jupyter-server-command "~/.local/bin/jupyter"))
(use-package deadgrep)
(use-package cmake-mode
:config
(defun my/cmake-jump-to-definiton (sym)
(interactive
(list (symbol-name (symbol-at-point))))
(rgrep (concat "function(" sym)
"*.cmake CMakeLists.txt"
(projectile-acquire-root)))
(define-key cmake-mode-map (kbd "M-.") #'my/cmake-jump-to-definiton))
(global-display-fill-column-indicator-mode t)
(setq-default fill-column 79)
@ -178,5 +191,11 @@
(setq plantuml-jar-path "~/bin/plantuml"
plantuml-default-exec-mode 'jar))
(use-package realgud
:config
(setq realgud-window-split-orientation 'horizontal))
(use-package realgud-lldb)
(provide 'work-config)
;;; work-config.el ends here