 
 ;;Color-themes
 ;;(require 'color-theme)
-(load-theme 'wombat-ext t)
+(load-theme 'flatland t)
 
 ;;Line numbering
 (global-linum-mode 1)

; Add ~/.emacs.d to load-path
;;(add-to-list 'load-path "~/.emacs.d")
(add-to-list 'load-path "~/.emacs.d/elpa/")
;;(let ((default-directory "~/.emacs.d/github.com-packages/"))
;;  (normal-top-level-add-subdirs-to-load-path))


;;Add themes folder to custom themes list

(global-set-key (kbd "C-c C-<") 'mc/mark-all-like-this)

;; Terminals
(global-set-key (kbd "C-x t") (lambda () (interactive) (ansi-term "/usr/local/bin/bash")))
(defadvice term-sentinel (around my-advice-term-sentinel (proc msg))
  (if (memq (process-status proc) '(signal exit))
      (let ((buffer (process-buffer proc)))
        ad-do-it
        (kill-buffer buffer))
    ad-do-it))
(ad-activate 'term-sentinel)


(global-set-key (kbd "C-c C-c") 'comment-or-uncomment-region)
