 
 ;; Font
 (set-default-font "Inconsolata-g for Powerline 14")
+
+;; Insert spaces instead of tabs
+(setq-default indent-tabs-mode nil)
+
+;; Set line width to 78 columns...
+(setq fill-column 78)
+(setq auto-fill-mode t)
+
+;; Trailing whitespaces
+(setq-default show-trailing-whitespace t)
+;; (add-hook 'before-save-hook 'delete-trailing-whitespace)
 
 ;; Package
 (require 'package)

(let ((default-directory "~/.emacs.d/site-lisp/"))
  (normal-top-level-add-subdirs-to-load-path))

;; Color themep
(load-theme 'tangotango t)

;; Sh Mode


;; Switch between two most recent buffers
(global-set-key (kbd "M-o")  'mode-line-other-buffer)

(global-set-key (kbd "C-x <up>") 'windmove-up)
(global-set-key (kbd "C-x <down>") 'windmove-down)
(global-set-key (kbd "C-x <right>") 'windmove-right)
(global-set-key (kbd "C-x <left>") 'windmove-left)

;; insert before current line and indent
(defun insert-before-and-indent ()
