 
 (global-set-key (kbd "C-x t") 'ansi-term)
 (global-set-key (kbd "C-c C-c") 'comment-or-uncomment-region)
+(global-set-key (kbd "C-x r") 'rename-buffer)
+
+
+;; Cursor
+(set-default 'cursor-type 'hbar)
+
+;; Power Line
+(require 'powerline)
+(powerline-default-theme)
+
+;;GO MODE
+(setq gofmt-command "goimports")
+(require 'go-mode)
+(add-hook 'before-save-hook 'gofmt-before-save)
+
 
 ;;Mac command modifier
 (setq mac-command-modifier 'control)
-
-
 ;;Mac Paths
 (when (memq window-system '(mac ns))
   (exec-path-from-shell-initialize))
 
-;; (require 'go-autocomplete)
-;; (require 'auto-complete-config)
-;; (define-key ac-mode-map (kbd "M-TAB") 'auto-complete)
 (put 'narrow-to-region 'disabled nil)
+
+
+
+
+;; Set project specific specs
+(add-to-list 'auto-mode-alist '("\\.ctp\\'" . web-mode))
+(add-to-list 'auto-mode-alist '("\\.html\\'" . web-mode))
+(setq web-mode-engines-alist
+      '(("go" . "\\.html\\'"))
+      )
+(setq auto-save-default nil)
+
+

(package-initialize)

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

;;Status bar/mode line 
;;(setq-default mode-line-format nil)

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

(smex-initialize)
(global-set-key (kbd "M-x") 'smex)

;; Smart Modeline
(setq sml/theme 'respectful)
(require 'smart-mode-line)
(sml/setup)

;;Multiple Cursors
(require 'multiple-cursors)
(global-set-key (kbd "C-c C-S-c") 'mc/edit-lines)
(global-set-key (kbd "C-<") 'mc/mark-previous-like-this)
