From: Andrea Zagli Date: Thu, 27 Aug 2015 07:41:21 +0000 (+0200) Subject: emacs: imposta la posizione/grandezza all'avvio. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=374d1fb81d6a9837828eae54e068ef2e2fe9a114;p=msys2 emacs: imposta la posizione/grandezza all'avvio. Aggiunta di sr-speedbar e diff-hl. --- diff --git a/tools/emacs b/tools/emacs index 2d6f599..1f1184d 100644 --- a/tools/emacs +++ b/tools/emacs @@ -5,6 +5,7 @@ ;; If there is more than one, they won't work right. '(blink-cursor-mode nil) '(column-number-mode t) + '(inhibit-startup-screen t) '(show-paren-mode t) '(tool-bar-mode nil)) (custom-set-faces @@ -13,6 +14,12 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(default ((t (:family "Source Code Pro" :foundry "outline" :slant normal :weight normal :height 90 :width normal))))) + +;;(add-to-list 'custom-theme-load-path +;; (file-name-as-directory "c:/msys64/home/a.zagli/replace-colorthemes")) + +;;(load-theme 'comidia t t) +;;(enable-theme 'comidia) (load-theme 'misterioso) @@ -23,7 +30,9 @@ (setq vc-make-backup-files t) (setq auto-save-default nil) ; stop creating #autosave# files ;; save/restore opened files and windows config -(desktop-save-mode 1) ; 0 for off +;; (desktop-save-mode 1) ; 0 for off +(set-frame-position (selected-frame) 50 10) +(set-frame-size (selected-frame) 160 60 nil) (setq-default tab-width 4) @@ -90,3 +99,8 @@ (global-hl-line-mode 1) (set-face-background 'hl-line "gray24") (set-face-foreground 'highlight nil) + +(global-diff-hl-mode) +(add-hook 'dired-mode-hook 'diff-hl-dired-mode) + +(require 'sr-speedbar)