]> saetta.ns0.it Git - msys2/commitdiff
Aggiornata la configurazione emacs per gnu/linux.
authorAndrea Zagli <azagli@libero.it>
Tue, 15 Dec 2015 12:29:56 +0000 (13:29 +0100)
committerAndrea Zagli <azagli@libero.it>
Tue, 15 Dec 2015 12:29:56 +0000 (13:29 +0100)
tools/emacs_linux

index a928f7591cfd7bf3c1d8859dce8e58e8345c7128..6ef64a3eb4ea9ee69e4ca73dc24da8e62da5f66f 100644 (file)
@@ -5,7 +5,6 @@
  ;; 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
@@ -14,6 +13,8 @@
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
  '(default ((t (:family "Droid Sans Mono" :foundry "unknown" :slant normal :weight normal :height 90 :width normal)))))
+
+(setq inhibit-startup-screen t)
 (load-theme 'misterioso)
 
 
@@ -22,6 +23,7 @@
 ;(setq make-backup-files nil) ; stop creating backup~ files
 (setq version-control t)
 (setq vc-make-backup-files t)
+(setq delete-old-versions t)
 (setq auto-save-default nil) ; stop creating #autosave# files
 ;; save/restore opened files and windows config
 ;; (desktop-save-mode 1) ; 0 for off
 (setq show-paren-delay 0)
 (show-paren-mode 1)
 
+(global-whitespace-mode 1)
+(setq whitespace-style (quote (spaces tabs newline space-mark tab-mark newline-mark)))
+(setq whitespace-display-mappings
+         '(
+               (space-mark 32 [183] [46])
+               (newline-mark 10 [182 10])
+               (tab-mark 9 [8594 9] [92 9])))
 
 (require 'package)
 (add-to-list 'package-archives
 (setq package-enable-at-startup nil)
 (package-initialize)
 
+(require 'spaceline-config)
+(spaceline-spacemacs-theme)
+(setq spaceline-buffer-position-p 'nil)
+(setq spaceline-hud-p 'nil)
+
 (require 'autopair)
 (autopair-global-mode)
 
@@ -76,6 +90,7 @@
   (add-to-list 'achead:include-directories '"/usr/include")
   (add-to-list 'achead:include-directories '"/usr/include/glib-2.0")
   (add-to-list 'achead:include-directories '"/usr/include/gtk-3.0")
+  (add-to-list 'achead:include-directories '"/usr/include/libxml2")
   (add-to-list 'achead:include-directories '"/usr/local/include")
   (add-to-list 'achead:include-directories '"/usr/local/include/libgda-5.0")
 )