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.el | 15 ++++++++++----- 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 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 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