refining config
This commit is contained in:
parent
ec93c20223
commit
b4df8f3b50
2 changed files with 22 additions and 20 deletions
15
config.el
15
config.el
|
@ -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."
|
||||||
|
@ -64,9 +64,14 @@
|
||||||
(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 _)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue