diff --git a/init.el b/init.el index dd1bd2e..89647c4 100644 --- a/init.el +++ b/init.el @@ -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)