From: Andrea Zagli Date: Thu, 25 Jun 2015 06:34:56 +0000 (+0200) Subject: Aggiornata la configurazione di emacs. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=b1d2739bdedbbf9b9f8bee9f22448b623e95ae1b;p=msys2 Aggiornata la configurazione di emacs. --- diff --git a/tools/emacs b/tools/emacs index 3adc3f3..932ce84 100644 --- a/tools/emacs +++ b/tools/emacs @@ -1,23 +1,36 @@ -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(blink-cursor-mode nil) - '(column-number-mode t) - '(tool-bar-mode nil)) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(default ((t (:family "Consolas" :foundry "outline" :slant normal :weight normal :height 98 :width normal))))) -(load-theme 'misterioso) - - -(global-linum-mode 1) ; display line numbers in margin -(column-number-mode 1) -(setq make-backup-files nil) ; stop creating backup~ files -(setq auto-save-default nil) ; stop creating #autosave# files -;; save/restore opened files and windows config -(desktop-save-mode 1) ; 0 for off +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(blink-cursor-mode nil) + '(column-number-mode t) + '(tool-bar-mode nil)) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(default ((t (:family "Consolas" :foundry "outline" :slant normal :weight normal :height 98 :width normal))))) +(load-theme 'misterioso) + + +(global-linum-mode 1) ; display line numbers in margin +(column-number-mode 1) +(setq make-backup-files nil) ; stop creating backup~ files +(setq auto-save-default nil) ; stop creating #autosave# files +;; save/restore opened files and windows config +(desktop-save-mode 1) ; 0 for off + +(require 'package) +(add-to-list 'package-archives + '("melpa" . "http://melpa.milkbox.net/packages/") t) + +(setq package-enable-at-startup nil) +(package-initialize) + +(require 'autopair) +(autopair-global-mode) + +(require 'yasnippet) +(yas-global-mode 1)