]> saetta.ns0.it Git - msys2/commitdiff
Aggiornata la configurazione di emacs.
authorAndrea Zagli <a.zagli@comune.scandicci.fi.it>
Thu, 25 Jun 2015 06:34:56 +0000 (08:34 +0200)
committerAndrea Zagli <a.zagli@comune.scandicci.fi.it>
Thu, 25 Jun 2015 06:34:56 +0000 (08:34 +0200)
tools/emacs

index 3adc3f36eca7be73b33d5183443398187e104d7b..932ce844ebf36028f9cf4636a010130c3b82df65 100644 (file)
@@ -1,23 +1,36 @@
-(custom-set-variables\r
- ;; custom-set-variables was added by Custom.\r
- ;; If you edit it by hand, you could mess it up, so be careful.\r
- ;; Your init file should contain only one such instance.\r
- ;; If there is more than one, they won't work right.\r
- '(blink-cursor-mode nil)\r
- '(column-number-mode t)\r
- '(tool-bar-mode nil))\r
-(custom-set-faces\r
- ;; custom-set-faces was added by Custom.\r
- ;; If you edit it by hand, you could mess it up, so be careful.\r
- ;; Your init file should contain only one such instance.\r
- ;; If there is more than one, they won't work right.\r
- '(default ((t (:family "Consolas" :foundry "outline" :slant normal :weight normal :height 98 :width normal)))))\r
-(load-theme 'misterioso)\r
-\r
-\r
-(global-linum-mode 1) ; display line numbers in margin\r
-(column-number-mode 1)\r
-(setq make-backup-files nil) ; stop creating backup~ files\r
-(setq auto-save-default nil) ; stop creating #autosave# files\r
-;; save/restore opened files and windows config\r
-(desktop-save-mode 1) ; 0 for off\r
+(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)