emacs: set more variables
This commit is contained in:
parent
b1d7931c95
commit
80f1635d96
1 changed files with 6 additions and 5 deletions
|
@ -38,6 +38,12 @@ One will be created if none exist."
|
|||
(find-file user-init-file))
|
||||
(global-set-key (kbd "C-c e i") 'edit-init-file)
|
||||
|
||||
;; variables
|
||||
(setq compilation-scroll-output t ; M-x compile
|
||||
dictionary-server "dict.org" ; M-x dictionary-search
|
||||
fill-column 72 ; M-x auto-fill-mode
|
||||
wdired-allow-to-change-permissions t) ; M-x dired C-x C-q
|
||||
|
||||
;; some packages
|
||||
(package-install 'nerd-icons)
|
||||
(package-install 'pdf-tools)
|
||||
|
@ -83,16 +89,11 @@ One will be created if none exist."
|
|||
(add-hook 'lisp-mode-hook 'lisp-hook)
|
||||
(add-hook 'lisp-data-mode-hook 'lisp-hook)
|
||||
|
||||
(setq fill-column 74)
|
||||
(add-hook 'mail-mode-hook 'auto-fill-mode)
|
||||
(add-hook 'markdown-mode-hook 'auto-fill-mode)
|
||||
(add-hook 'nroff-mode-hook 'auto-fill-mode)
|
||||
(add-hook 'nroff-mode-hook 'variable-pitch-mode)
|
||||
|
||||
;; other variables
|
||||
(setq compilation-scroll-output t
|
||||
wdired-allow-to-change-permissions t)
|
||||
|
||||
;; file extensions
|
||||
(add-to-list 'auto-mode-alist '("\\.yuck\\'" . lisp-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.eml\\'" . mail-mode))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue