go.mod project compile-mode support

This commit is contained in:
2026-08-26 11:06:42 +08:00
parent 3100a49e04
commit 2a6c700762
+3
View File
@@ -50,11 +50,14 @@
(setq-default cursor-type '(bar . 2))
(add-to-list 'default-frame-alist '(fullscreen . maximized))
(with-eval-after-load 'project
(add-to-list 'project-vc-extra-root-markers "go.mod"))
(global-unset-key (kbd "C-SPC"))
(global-set-key (kbd "M-SPC") 'set-mark-command)
(global-set-key (kbd "C-x C-b") 'bs-show)
(global-set-key (kbd "C-,") 'compile)
(global-set-key (kbd "C-x C-,") #'project-compile)
(windmove-default-keybindings 'meta)