Skip to content

Commit

Permalink
hm/emacs: update init.el
Browse files Browse the repository at this point in the history
  • Loading branch information
linyinfeng committed Oct 9, 2023
1 parent ae51d7b commit a15f8e6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion home-manager/profiles/emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,16 @@
;; no tabs
(setq-default indent-tabs-mode nil)

;; tab width
(setq-default tab-width 4)
(add-hook 'TeX-mode-hook (lambda () (setq tab-width 2)))

;; windmove
(windmove-default-keybindings)

;; split thresholds
(setq split-height-threshold 120
split-width-threshold 120)
split-width-threshold 120)

;; quoted char radix
(setq read-quoted-char-radix 16)
Expand Down

0 comments on commit a15f8e6

Please sign in to comment.