mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 16:24:18 +00:00
Need deadgrep and cmake at work
Also trying out realgud
This commit is contained in:
parent
78ff75bcaf
commit
50a921eb25
1 changed files with 19 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue