 
 
 (use-package term
-	     ;; Terminal
-	     :init (add-hook 'term-mode-hook (lambda ()
-					       "Remove global-linum-mode to stop flashing and line-spacing to fix less"
-					       (linum-mode -1)
-					       (set (make-local-variable 'line-spacing) nil)))
+  ;; Terminal
+  :init (add-hook 'term-mode-hook (lambda ()
+                                    "Remove global-linum-mode to stop flashing and line-spacing to fix less"
+                                    (linum-mode -1)
+                                    (set (make-local-variable 'line-spacing) nil)))
   :config (progn
             (term-set-escape-char ?\C-x)
             (defun wh-ansi-term ()

(use-package protobuf-mode
  :ensure t
  :mode ".*\.proto\\'")

(when (memq window-system '(mac ns))
  (use-package frame
    :init (progn
          (defun kill-fullscreen(frame)
            "When a FRAME is deleted, take it out of fullscreen first. This
fixes the bug where emacs dies when you try to kill a frame"
            (modify-frame-parameters
             frame
             `(
               (fullscreen
                . ,(if (eq (frame-parameter frame 'maximized) 'maximized)
                       'maximized)))))
          (add-to-list 'delete-frame-functions #'kill-fullscreen)
          
  )))

(provide 'dot)
;;; dot.el ends here

  :init (progn
          (setq auto-revert-remote-files t)
          (require 'tramp-term))
  
  :config (defalias 'ssh 'tramp-term)
  :commands tramp-term)

(use-package magit
  :ensure t
  :init (progn
          (setq magit-last-seen-setup-instructions "1.4.0")
          (define-key wh-keymap (kbd "g") 'magit-status)))

(use-package smart-mode-line
  :ensure t
  :init (progn
          (setq sml/theme 'respectful)
          (sml/setup)))

(use-package ggtags
  :ensure t
