diff options
| author | benj <benj@rse8.com> | 2025-03-16 14:02:08 -0700 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2025-03-16 14:02:08 -0700 |
| commit | f518f274b6fc07d2d30722691e74bd7c9b7e895b (patch) | |
| tree | 6b340c8787849cf100431a12fb23ec550b0c235b | |
| parent | 59ce5ef7dc6448ebbe8525a1c5ed600e9bf6a4db (diff) | |
| download | emacs-f518f274b6fc07d2d30722691e74bd7c9b7e895b.tar emacs-f518f274b6fc07d2d30722691e74bd7c9b7e895b.tar.gz emacs-f518f274b6fc07d2d30722691e74bd7c9b7e895b.tar.bz2 emacs-f518f274b6fc07d2d30722691e74bd7c9b7e895b.tar.lz emacs-f518f274b6fc07d2d30722691e74bd7c9b7e895b.tar.xz emacs-f518f274b6fc07d2d30722691e74bd7c9b7e895b.tar.zst emacs-f518f274b6fc07d2d30722691e74bd7c9b7e895b.zip | |
cmake auto enable on CMakeLists.txt and add dap transient stop cmd
Diffstat (limited to '')
| -rw-r--r-- | init.el | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -123,6 +123,11 @@ (use-package cargo-mode :ensure t) +(use-package cmake-mode + :ensure t + :mode (("CMakeLists.txt" . cmake-mode) + ("\\.cmake\\'" . cmake-mode))) + (use-package company :ensure t :init @@ -154,22 +159,23 @@ (transient-define-prefix dap-commands () "DAP mode commands" [["Commands" + ("b" "Toggle Breakpoint" dap-breakpoint-toggle) + ("c" "Continue" dap-continue) ("d" "Start debugger" dap-debug) - ("n" "Next" dap-next) ("i" "Step In" dap-step-in) + ("n" "Next" dap-next) ("o" "Step Out" dap-step-out) - ("b" "Toggle Breakpoint" dap-breakpoint-toggle) - ("c" "Continue" dap-continue) + ("s" "Stop" dap-stop-thread) ("u" "DAP UI commands" dap-ui-commands)]]) (transient-define-prefix dap-ui-commands () "DAP UI commands" [["Commands" - ("r" "Repl window" dap-ui-repl) + ("B" "Breakpoints window" dap-ui-breakpoints) + ("b" "Breakpoints" dap-ui-breakpoints-list) ("l" "Locals window" dap-ui-locals) + ("r" "Repl window" dap-ui-repl) ("s" "Sessions window" dap-ui-sessions) - ("b" "Breakpoints" dap-ui-breakpoints-list) - ("B" "Breakpoints window" dap-ui-breakpoints) ("W" "Show all windows" dap-ui-show-many-windows) ("w" "Hide all windows" dap-ui-hide-many-windows)]]) |
