 ;; Language configuration.
 
 ;;; Code:
+
+;; General keymap rules:
+;; All mode specific keymaps live under the local leader prefix.
+;;
+;; 'o' - Open repl
+;;
+;; 's' - Send to repl prefix
+;;
+;; 't' - Test prefix
+;; 'tt' - Test current package/module/file
+;; 'tp' - Test everything from project root
+;; 'ti' - Interactively run test
+;;
+;; 'v' - Dependency vendoring
+;;
+;; 'r' - Rename prefix
+;; 'rn' - Rename symbol
+;; 'rf' - Rename file
+
+
 
 (use-package go-mode
   :straight t


(core/local 'rust-mode-map
            "rn" 'lsp-rename
            "ta" 'cargo-process-test
            "tc" 'cargo-process-current-test
            "tf" 'cargo-process-current-file-tests)

;; Typescript



(core/local 'go-mode-map
            "rn" 'lsp-rename
            "tt" 'go/go-test-current-pkg
            "tp" 'go/go-test-root
            "ti" 'go/go-test-run
            "v" 'go/go-vendor)

(defvar go-test-buffer-name "*go test*"
