From ca6e97488d982c4a812c986eb7c8ed98e460703a Mon Sep 17 00:00:00 2001 From: Grant Shangreaux Date: Tue, 2 Aug 2022 09:30:05 -0500 Subject: Add: turn off indent tabs mode, some keymap tweaks --- shoshin-config.org | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) (limited to 'shoshin-config.org') 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 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 -- cgit v1.2.3