mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 09:53:10 -05:00
Template for hidpi, disable tramp, finally fix indenting
This commit is contained in:
parent
7ea4db0b6b
commit
27fe8763da
1 changed files with 48 additions and 38 deletions
|
@ -142,9 +142,9 @@
|
||||||
(savehist-mode))
|
(savehist-mode))
|
||||||
|
|
||||||
;; SSH
|
;; SSH
|
||||||
(use-package tramp
|
;; (use-package tramp
|
||||||
:config
|
;; :config
|
||||||
(setq tramp-default-method "ssh"))
|
;; (setq tramp-default-method "ssh"))
|
||||||
|
|
||||||
;; Completion with vertico/consult
|
;; Completion with vertico/consult
|
||||||
(use-package vertico
|
(use-package vertico
|
||||||
|
@ -422,9 +422,15 @@
|
||||||
;:hook
|
;:hook
|
||||||
;(org-mode . mixed-pitch-mode)
|
;(org-mode . mixed-pitch-mode)
|
||||||
:config
|
:config
|
||||||
|
{{- if eq .chezmoi.hostname "helix"}}
|
||||||
|
(set-face-attribute 'default nil :font "Hack" :height 180)
|
||||||
|
(set-face-attribute 'fixed-pitch nil :font "Hack" :height 180)
|
||||||
|
(set-face-attribute 'variable-pitch nil :font "DejaVu Sans" :height 200))
|
||||||
|
{{- else }}
|
||||||
(set-face-attribute 'default nil :font "Hack" :height 90)
|
(set-face-attribute 'default nil :font "Hack" :height 90)
|
||||||
(set-face-attribute 'fixed-pitch nil :font "Hack" :height 90)
|
(set-face-attribute 'fixed-pitch nil :font "Hack" :height 90)
|
||||||
(set-face-attribute 'variable-pitch nil :font "DejaVu Sans" :height 100))
|
(set-face-attribute 'variable-pitch nil :font "DejaVu Sans" :height 100))
|
||||||
|
{{- end }}
|
||||||
;(add-hook 'mixed-pitch-mode-hook #'solaire-mode-reset)
|
;(add-hook 'mixed-pitch-mode-hook #'solaire-mode-reset)
|
||||||
|
|
||||||
;; Icons
|
;; Icons
|
||||||
|
@ -771,6 +777,10 @@
|
||||||
(make-lsp-client
|
(make-lsp-client
|
||||||
:new-connection (lsp-stdio-connection "/usr/bin/zls")
|
:new-connection (lsp-stdio-connection "/usr/bin/zls")
|
||||||
:major-modes '(zig-mode)
|
:major-modes '(zig-mode)
|
||||||
:server-id 'zls)))
|
:server-id 'zls))
|
||||||
|
:hook
|
||||||
|
(zig-mode . (lambda ()
|
||||||
|
(setq-local fill-column 100)
|
||||||
|
(setq-local tab-width 4))))
|
||||||
|
|
||||||
;;; End init.el
|
;;; End init.el
|
Loading…
Reference in a new issue