mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 01:43: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))
|
||||
|
||||
;; SSH
|
||||
(use-package tramp
|
||||
:config
|
||||
(setq tramp-default-method "ssh"))
|
||||
;; (use-package tramp
|
||||
;; :config
|
||||
;; (setq tramp-default-method "ssh"))
|
||||
|
||||
;; Completion with vertico/consult
|
||||
(use-package vertico
|
||||
|
@ -422,9 +422,15 @@
|
|||
;:hook
|
||||
;(org-mode . mixed-pitch-mode)
|
||||
: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 'fixed-pitch nil :font "Hack" :height 90)
|
||||
(set-face-attribute 'variable-pitch nil :font "DejaVu Sans" :height 100))
|
||||
{{- end }}
|
||||
;(add-hook 'mixed-pitch-mode-hook #'solaire-mode-reset)
|
||||
|
||||
;; Icons
|
||||
|
@ -771,6 +777,10 @@
|
|||
(make-lsp-client
|
||||
:new-connection (lsp-stdio-connection "/usr/bin/zls")
|
||||
: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
|
Loading…
Reference in a new issue