diff options
author | Grant Shangreaux <grant@unabridgedsoftware.com> | 2022-08-02 09:30:05 -0500 |
---|---|---|
committer | Grant Shangreaux <grant@unabridgedsoftware.com> | 2022-08-02 09:30:05 -0500 |
commit | ca6e97488d982c4a812c986eb7c8ed98e460703a (patch) | |
tree | 2d7b87a7494115fcf7a8de6784a84121b64177da | |
parent | 2d89bc4ded659777874ff2336f87084cb6a487d7 (diff) |
Add: turn off indent tabs mode, some keymap tweaks
-rw-r--r-- | shoshin-config.el | 15 | ||||
-rw-r--r-- | shoshin-config.org | 26 |
2 files changed, 31 insertions, 10 deletions
diff --git a/shoshin-config.el b/shoshin-config.el index 2f3a30a..0ebda71 100644 --- a/shoshin-config.el +++ b/shoshin-config.el @@ -46,11 +46,11 @@ (define-prefix-command (quote ,keymap)) (global-set-key (kbd ,leader) ,keymap) (mapc (lambda (pair) - (define-key ,keymap - (kbd (if (numberp (car pair)) (number-to-string (car pair)) - (symbol-name (car pair)))) - (cadr pair))) - (quote ,(seq-partition pairs 2))))) + (define-key ,keymap + (kbd (if (numberp (car pair)) (number-to-string (car pair)) + (symbol-name (car pair)))) + (cadr pair))) + (quote ,(seq-partition pairs 2))))) (defvar *my-config* "~/projects/shoshimacs/shoshin-config.org" "Path to my main configuration file.") @@ -77,6 +77,9 @@ i consult-imenu j describe-function k describe-variable + n tab-next + p project-prefix-map + s consult-ripgrep t consult-theme w which-key-mode <f1> my-reload-config) @@ -146,6 +149,8 @@ (recentf-mode) +(setq indent-tabs-mode nil) + ;;; Programming (package-install 'sly) diff --git a/shoshin-config.org b/shoshin-config.org index 22c9f03..2b9c574 100644 --- a/shoshin-config.org +++ b/shoshin-config.org @@ -233,11 +233,11 @@ to go away. (define-prefix-command (quote ,keymap)) (global-set-key (kbd ,leader) ,keymap) (mapc (lambda (pair) - (define-key ,keymap - (kbd (if (numberp (car pair)) (number-to-string (car pair)) - (symbol-name (car pair)))) - (cadr pair))) - (quote ,(seq-partition pairs 2))))) + (define-key ,keymap + (kbd (if (numberp (car pair)) (number-to-string (car pair)) + (symbol-name (car pair)))) + (cadr pair))) + (quote ,(seq-partition pairs 2))))) (defvar *my-config* "~/projects/shoshimacs/shoshin-config.org" "Path to my main configuration file.") @@ -264,6 +264,9 @@ to go away. i consult-imenu j describe-function k describe-variable + n tab-next + p project-prefix-map + s consult-ripgrep t consult-theme w which-key-mode <f1> my-reload-config) @@ -588,6 +591,12 @@ from them in various Emacs menus. [[*\[\[info:consult#Top\]\[consult\]\] - Consu (recentf-mode) #+end_src +** tabs and spaces + +#+begin_src emacs-lisp + (setq indent-tabs-mode nil) +#+end_src + * Programming :PROPERTIES: :header-args:emacs-lisp: :noweb-ref programming :noweb-sep "\n\n" :results silent @@ -624,6 +633,13 @@ its currently provided by non-gnu ELPA: :END: ** project.el + +~project.el~ is the built in project management tool. previously, I've used +~projectile~, which is great, but some of the more recent tools (like eglot) +use the built in ~project.el~ api for their features. + +I've got the ~project-prefix-map~ on the key =p= in [[*with-map-defkey][my-key-map]]. + ** version control *** magit |