- ensure certain variables are copied from .zprofile - shorten which-key delay - increase garbage collection threshold
This commit is contained in:
parent
c85cd624f1
commit
5cf9984226
2 changed files with 12 additions and 8 deletions
|
|
@ -78,7 +78,7 @@
|
||||||
(setq large-file-warning-threshold 50000000)
|
(setq large-file-warning-threshold 50000000)
|
||||||
|
|
||||||
;; Numbers are arbitrary, but work on a large screen. Default is 160
|
;; Numbers are arbitrary, but work on a large screen. Default is 160
|
||||||
(setq split-width-threshold 180)
|
(setq split-width-threshold 200)
|
||||||
;;;;;;;;;;;;;;;;;;;;;; Shell stuff ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;; Shell stuff ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
|
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
|
||||||
|
|
||||||
|
|
@ -87,10 +87,12 @@
|
||||||
|
|
||||||
;; Allow to execute path from shell
|
;; Allow to execute path from shell
|
||||||
(use-package exec-path-from-shell
|
(use-package exec-path-from-shell
|
||||||
:if (memq window-system '(x mac ns))
|
:if (memq window-system '(x mac ns))
|
||||||
:straight t
|
:straight t
|
||||||
:config (add-to-list 'exec-path "/usr/local/bin")
|
:config (add-to-list 'exec-path "/usr/local/bin")
|
||||||
(exec-path-from-shell-initialize))
|
(dolist (var '("DEFT_PATH" "LANG" "LC_CTYPE"))
|
||||||
|
(add-to-list 'exec-path-from-shell-variables var))
|
||||||
|
(exec-path-from-shell-initialize))
|
||||||
|
|
||||||
(use-package direnv :straight t :config (direnv-mode))
|
(use-package direnv :straight t :config (direnv-mode))
|
||||||
|
|
||||||
|
|
@ -125,7 +127,9 @@
|
||||||
;;;;;;;;;;;;;;;;; Show hints about key combinations
|
;;;;;;;;;;;;;;;;; Show hints about key combinations
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
:straight t
|
:straight t
|
||||||
:config (which-key-mode t))
|
:config
|
||||||
|
(setq which-key-idle-delay 0.5)
|
||||||
|
(which-key-mode t))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;; Use C-n to create a new line
|
;;;;;;;;;;;;;;;;; Use C-n to create a new line
|
||||||
(setq next-line-add-newlines t)
|
(setq next-line-add-newlines t)
|
||||||
|
|
|
||||||
|
|
@ -93,8 +93,8 @@
|
||||||
(require 'icejam-diminish)
|
(require 'icejam-diminish)
|
||||||
|
|
||||||
;; Restore GC to normal, but still high
|
;; Restore GC to normal, but still high
|
||||||
(setq gc-cons-threshold 100000000)
|
(setq gc-cons-threshold 200000000)
|
||||||
(setq gc-cons-percentage 0.1)
|
(setq gc-cons-percentage 0.2)
|
||||||
|
|
||||||
(provide 'icejam-custom-init)
|
(provide 'icejam-custom-init)
|
||||||
;;; icejam-custom-init.el ends here
|
;;; icejam-custom-init.el ends here
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue