doom config updates
This commit is contained in:
parent
f3cfad8f48
commit
20b35a3b70
3 changed files with 190 additions and 141 deletions
32
config.el
32
config.el
|
@ -22,6 +22,13 @@
|
|||
(setq scroll-preserve-screen-position t)
|
||||
(setq global-hl-line-modes nil)
|
||||
|
||||
(if (daemonp)
|
||||
(add-hook 'after-make-frame-functions
|
||||
(lambda (frame)
|
||||
(with-selected-frame frame
|
||||
(scroll-bar-mode -1))))
|
||||
(scroll-bar-mode -1))
|
||||
|
||||
;; (custom-set-faces!
|
||||
;; '(line-number :foreground "#424242"))
|
||||
|
||||
|
@ -32,7 +39,7 @@
|
|||
|
||||
(setq org-directory "~/Documents/Obsidian/Primary")
|
||||
|
||||
(use-package! kbd-mode)
|
||||
(use-package! kbd-mode :defer t)
|
||||
|
||||
;; Modeline
|
||||
;; - add current workspace name
|
||||
|
@ -98,7 +105,7 @@
|
|||
(global-so-long-mode 1)
|
||||
|
||||
(after! parinfer-rust-mode
|
||||
(setq parinfer-rust-auto-download f)
|
||||
(setq parinfer-rust-auto-download nil)
|
||||
(setq parinfer-rust-preferred-mode "smart"))
|
||||
|
||||
(setq dap-ui-variable-length 200)
|
||||
|
@ -236,15 +243,18 @@
|
|||
(after! gcode-mode
|
||||
(add-hook! 'gcode-mode-hook 'eldoc-mode))
|
||||
|
||||
;; (use-package! tramp
|
||||
;; :init
|
||||
;; ;; Make sure we work on remote guixsd machines :)
|
||||
;; ;; probably only helps if you start on a guixsd machine..!
|
||||
;; (setq tramp-remote-path
|
||||
;; (append path-tramp-remote
|
||||
;; '("~/.guix-profile/bin" "~/.guix-profile/sbin"
|
||||
;; "/run/current-system/profile/bin"
|
||||
;; "/run/current-system/profile/sbin"))))
|
||||
(use-package!
|
||||
tramp
|
||||
:defer t
|
||||
:config
|
||||
;; To “turn off” the backup feature for remote files and stop TRAMP from saving to the backup directory.
|
||||
;; See https://www.gnu.org/software/tramp/#Auto_002dsave-File-Lock-and-Backup
|
||||
(add-to-list 'backup-directory-alist
|
||||
(cons tramp-file-name-regexp nil))
|
||||
(customize-set-variable 'tramp-backup-directory-alist backup-directory-alist)
|
||||
|
||||
(setq backup-enable-predicate
|
||||
(lambda (name) nil)))
|
||||
|
||||
;; (use-package! ready-player
|
||||
;; :config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue