16 lines
605 B
EmacsLisp
16 lines
605 B
EmacsLisp
;; Global ---------------------------------------------------------------------
|
|
;; font size
|
|
(set-face-attribute 'default nil :height 110)
|
|
;; whitespace-mode
|
|
(setq-default show-trailing-whitespace nil)
|
|
;; When point is on paranthesis, highlight the matching one
|
|
(show-paren-mode t)
|
|
;; use only spaces and no tabs
|
|
(setq-default indent-tabs-mode nil)
|
|
(setq default-tab-width 2)
|
|
;; Text -----------------------------------------------------------------------
|
|
(add-hook 'text-mode-hook
|
|
'(lambda ()
|
|
(auto-fill-mode 1)
|
|
(flyspell-mode)))
|
|
(setq longlines-show-hard-newlines t)
|