refining config

This commit is contained in:
Matt Nish-Lapidus 2024-04-18 14:24:42 -04:00
parent ec93c20223
commit b4df8f3b50
2 changed files with 22 additions and 20 deletions

View file

@ -42,7 +42,7 @@
(t (call-interactively #'yas-insert-snippet)))) (t (call-interactively #'yas-insert-snippet))))
;; set default frame size on launch ;; set default frame size on launch
(setq default-frame-alist '( (left . 0) (top . 0) (height . 48) (width . 160) )) (setq default-frame-alist '( (left . 0) (top . 0) (height . 48) (width . 160)))
(defun mnl/frame-center () (defun mnl/frame-center ()
"Center the current frame." "Center the current frame."
@ -58,15 +58,20 @@
(set-frame-position f x y))) (set-frame-position f x y)))
;; some global settings ;; some global settings
(setq tab-always-indent t) ; don't autocomplete with tab (setq tab-always-indent t) ; don't autocomplete with tab
(+global-word-wrap-mode +1) ; default to soft word wrap (+global-word-wrap-mode +1) ; default to soft word wrap
(delete-selection-mode 1) ; delete stuff! (delete-selection-mode 1) ; delete stuff!
(setq delete-active-region t) ; delete selected stuff! (setq delete-active-region t) ; delete selected stuff!
(setq shell-file-name (executable-find "bash")) (setq shell-file-name (executable-find "bash"))
(setq-default vterm-shell (executable-find "fish")) (after! vterm
(setq-default vterm-shell (executable-find "fish"))
(setq-default explicit-shell-file-name (executable-find "fish"))
(setq vterm-kill-buffer-on-exit t))
(after! meow
(meow-vterm-enable))
(setq-default explicit-shell-file-name (executable-find "fish"))
;; remove org agenda from the splash screen ;; remove org agenda from the splash screen
(assoc-delete-all "Open org-agenda" +doom-dashboard-menu-sections) (assoc-delete-all "Open org-agenda" +doom-dashboard-menu-sections)
@ -104,16 +109,12 @@
(setq parinfer-rust-auto-download t) (setq parinfer-rust-auto-download t)
(setq parinfer-rust-preferred-mode "smart")) (setq parinfer-rust-preferred-mode "smart"))
(setq vterm-kill-buffer-on-exit t)
(setq dap-ui-variable-length 200) (setq dap-ui-variable-length 200)
;; smart tabs set modes ;; smart tabs set modes
(after! smart-tabs-mode (after! smart-tabs-mode
(smart-tabs-insinuate 'c 'javascript 'python)) (smart-tabs-insinuate 'c 'javascript 'python))
(after! meow
(meow-vterm-enable))
;; Add consult-line searches to isearch history (both regular and regex) -- can now use meow 'n' to continue search as well as isearch ;; Add consult-line searches to isearch history (both regular and regex) -- can now use meow 'n' to continue search as well as isearch
(advice-add #'consult-line :after (advice-add #'consult-line :after
(lambda (&rest _) (lambda (&rest _)
@ -155,8 +156,8 @@
(setq centaur-tabs-set-bar 'right) (setq centaur-tabs-set-bar 'right)
(setq centaur-tabs-cycle-scope 'tabs) (setq centaur-tabs-cycle-scope 'tabs)
(map! :map centaur-tabs-mode-map (map! :map centaur-tabs-mode-map
"s-M-<right>" 'centaur-tabs-forward "s-M-<right>" 'centaur-tabs-forward
"s-M-<left>" 'centaur-tabs-backward)) "s-M-<left>" 'centaur-tabs-backward))
;; use kitty for terminal-here ;; use kitty for terminal-here
(setq terminal-here-mac-terminal-command '("kitty" "@" "launch" "--type=tab")) (setq terminal-here-mac-terminal-command '("kitty" "@" "launch" "--type=tab"))
@ -165,16 +166,16 @@
(setq projectile-project-search-path '(("~/Source" . 2))) (setq projectile-project-search-path '(("~/Source" . 2)))
(setq projectile-globally-ignored-buffers (setq projectile-globally-ignored-buffers
'("*scratch*" '("*scratch*"
"*lsp-log*")) "*lsp-log*"))
;; ignoring buffers by their major mode ;; ignoring buffers by their major mode
(setq projectile-globally-ignored-modes (setq projectile-globally-ignored-modes
'("erc-mode" '("erc-mode"
"help-mode" "help-mode"
"completion-list-mode" "completion-list-mode"
"Buffer-menu-mode" "Buffer-menu-mode"
"gnus-.*-mode" "gnus-.*-mode"
"occur-mode")) "occur-mode"))
;; mouse support for vertico buffers ;; mouse support for vertico buffers
(after! vertico (after! vertico
@ -184,7 +185,7 @@
(after! sly (after! sly
(setq sly-lisp-implementations (setq sly-lisp-implementations
'((sbcl ("sbcl" "--dynamic-space-size" "12000")) '((sbcl ("sbcl" "--dynamic-space-size" "12000"))
(ciel ("sbcl" "--core" "/Users/emenel/quicklisp/local-projects/CIEL/ciel-core" "--eval" "(in-package :ciel-user)" "--dynamic-space-size" "2600")))) (ciel ("sbcl" "--core" "/Users/emenel/quicklisp/local-projects/CIEL/ciel-core" "--eval" "(in-package :ciel-user)" "--dynamic-space-size" "2600"))))
(setq sly-default-lisp 'sbcl) (setq sly-default-lisp 'sbcl)
(setq sly-complete-symbol-function 'sly-flex-completions)) (setq sly-complete-symbol-function 'sly-flex-completions))

View file

@ -19,6 +19,7 @@
(unpin! yasnippet-capf) (unpin! yasnippet-capf)
(unpin! parinfer-rust-mode) (unpin! parinfer-rust-mode)
;; (unpin! geiser) ;; (unpin! geiser)
(unpin! vterm)
(package! meow-vterm (package! meow-vterm
:recipe (:type git :recipe (:type git