diff options
-rw-r--r-- | shoshin-config.el | 20 | ||||
-rw-r--r-- | shoshin-config.org | 19 |
2 files changed, 11 insertions, 28 deletions
diff --git a/shoshin-config.el b/shoshin-config.el index 923bb96..6f65e7b 100644 --- a/shoshin-config.el +++ b/shoshin-config.el @@ -24,8 +24,6 @@ tab-always-indent 'complete) (package-install 'consult) -(define-key xah-fly-leader-key-map (kbd "f") #'consult-buffer) -(define-key xah-fly-command-map (kbd "n") #'consult-line) (global-set-key (kbd "C-x b") #'consult-buffer) (define-key xah-fly-leader-key-map (kbd "f") #'consult-buffer) @@ -79,7 +77,7 @@ ;;; User Interface (when (display-graphic-p) - (scroll-bar-mode nil) + (scroll-bar-mode -1) (fringe-mode '(8 . 0))) (tab-bar-mode t) @@ -96,19 +94,3 @@ (mapc #'package-install my-chosen-themes) (package-install 'windresize) -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(package-selected-packages - '(magit windresize dracula-theme cyberpunk-theme darkroom srht plz devdocs json-mode markdown-mode which-key vertico marginalia embark corfu-terminal xah-fly-keys corfu consult)) - '(safe-local-variable-values - '((org-publish-project-alist quote - ("wiki" :base-directory "~/projects/wiki" :publishing-directory "~/projects/wiki/html" :base-extension "org"))))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - ) diff --git a/shoshin-config.org b/shoshin-config.org index 72c22d2..286bf5b 100644 --- a/shoshin-config.org +++ b/shoshin-config.org @@ -198,13 +198,20 @@ built in completing read functionality of the minibuffer. #+begin_src emacs-lisp (package-install 'consult) +#+end_src + +main entry point would be ~consult-buffer~. however, there are many consult +commands that can enhance any completing read function. + +*** consult keybindings + +#+begin_src emacs-lisp + (global-set-key (kbd "C-x b") #'consult-buffer) (define-key xah-fly-leader-key-map (kbd "f") #'consult-buffer) (define-key xah-fly-command-map (kbd "n") #'consult-line) #+end_src -main entry point would be ~consult-buffer~. however, there are many consult -commands that can enhance any completing read function. ~consult-themes~ for -example. +*** note about ~consult-themes~ i had a bit of a mess with it at first, because i'd implemented my own solution to a quirk of theme loading. enabling themes is additive, @@ -213,12 +220,6 @@ to ~load-theme~ to automatically disable the old one before enabling the new. it seems like consult does this as well as switching themes /as you narrow your selection/. -*** consult keybindings -#+begin_src emacs-lisp - (global-set-key (kbd "C-x b") #'consult-buffer) - (define-key xah-fly-leader-key-map (kbd "f") #'consult-buffer) - (define-key xah-fly-command-map (kbd "n") #'consult-line) -#+end_src ** corfu |