 (setq frame-title-format "%b")        ; titlebar shows buffer's name
 (line-number-mode t)                  ; display line number in modeline
 (column-number-mode t)                ; display column number in modeline
-(iswitchb-mode) ; switch sexy
+                                        ;(iswitchb-mode) ; switch sexy
+(ido-mode)
 (show-paren-mode t)                   ; show opposing paren while hovering
 (fset 'yes-or-no-p 'y-or-n-p)         ; y or n will do
 

; Go
(autoload 'go-mode "go-mode" "Go editing mode." t)
(add-to-list 'auto-mode-alist '("\\.go$" . go-mode))


;; To fix emacs startup hangs with rtags and tramp
;; http://emacs.stackexchange.com/questions/18438/emacs-suspend-at-startup-ssh-connection-issue
(setq tramp-ssh-controlmaster-options
      "-o ControlMaster=auto -o ControlPath='tramp.%%C' -o ControlPersist=no")
(require 'tramp)


;;;;;;;;;;;;;;; PACKAGES ;;;;;;;;;;;;;;;;;;;;;;

(setq load-path (cons "~/.emacs.d/lisp" load-path))



(require 'package) ;; You might already have this line
(add-to-list 'package-archives
             '("melpa" . "https://melpa.org/packages/"))
(when (< emacs-major-version 24)
  ;; For important compatibility libraries like cl-lib
  (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
(package-initialize) ;; You might already have this line



(require 'cask "~/.cask/cask.el")
(cask-initialize)


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



;;(add-hook 'text-mode-hook 'my-text-mode-hook)
(setq user-mail-address "matthieu.garrigues@gmail.com")
