Emacs: combine other variables
This commit is contained in:
parent
603c7255ee
commit
09700f3b83
1 changed files with 26 additions and 19 deletions
|
@ -65,26 +65,33 @@
|
||||||
(prefer-coding-system 'utf-8-unix)
|
(prefer-coding-system 'utf-8-unix)
|
||||||
(set-language-environment "UTF-8")
|
(set-language-environment "UTF-8")
|
||||||
|
|
||||||
|
;; general options
|
||||||
|
(setq
|
||||||
;; disable startup screen
|
;; disable startup screen
|
||||||
(setq inhibit-startup-screen t)
|
inhibit-startup-screen t
|
||||||
|
|
||||||
;; visual bell instead of BEEP
|
;; visual bell instead of BEEP
|
||||||
(setq visible-bell 1)
|
visible-bell 1
|
||||||
|
|
||||||
;; set text in scratch to nil
|
;; set text in scratch to nil
|
||||||
(setq initial-scratch-message nil)
|
initial-scratch-message nil
|
||||||
|
|
||||||
;; Don't truncate lines
|
;; Don't truncate lines
|
||||||
(setq truncate-lines nil)
|
truncate-lines nil
|
||||||
|
|
||||||
;; Set default connection method for TRAMP
|
|
||||||
(setq tramp-default-method "ssh")
|
|
||||||
|
|
||||||
;; Maximize threshold for garbage collection to 10MB for less gc
|
;; Maximize threshold for garbage collection to 10MB for less gc
|
||||||
(setq gc-cons-treshold (* 10 1024 1024))
|
gc-cons-treshold (* 10 1024 1024)
|
||||||
|
|
||||||
;; confirm before closing emacs
|
;; confirm before closing emacs
|
||||||
(setq confirm-kill-emacs #'y-or-n-p)
|
confirm-kill-emacs #'y-or-n-p
|
||||||
|
;; put a new line at the end of every file
|
||||||
|
require-final-newline t
|
||||||
|
;; use german directory in ispell
|
||||||
|
ispell-dictionary "german"
|
||||||
|
;;; always follow symlinks to git repos
|
||||||
|
vc-follow-symlinks t
|
||||||
|
;;; indent using spaces, not tabs
|
||||||
|
indent-tabs-mode nil
|
||||||
|
;; tab width
|
||||||
|
tab-width 2)
|
||||||
|
|
||||||
|
;; disable cursor blinking
|
||||||
|
(blink-cursor-mode -1)
|
||||||
|
|
||||||
;; activate winner mode
|
;; activate winner mode
|
||||||
(when (fboundp 'winner-mode)
|
(when (fboundp 'winner-mode)
|
||||||
|
|
Loading…
Reference in a new issue