 ;;(set-default 'cursor-type 'hbar)
 
 ;; Power Line
-(require 'powerline)
-(powerline-default-theme)
-
+;; (require 'powerline)
+;; (powerline-default-theme)
 ;;GO MODE
 (setq gofmt-command "goimports")
 (require 'go-mode)


;;Color-themes
;;(require 'color-theme)
(load-theme 'wombat-ext t)

;;Line numbering
(global-linum-mode 1)

(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)
