   (insert (format-time-string "%Y%m%d-%H%M%S" (current-time))))
 (define-key osx-key-mode-map [(alt ?_)] 'insert-time-stamp)
 (put 'downcase-region 'disabled nil)
+
+;; tramp
+(set-default 'tramp-default-proxies-alist (quote ((".*" "\\`root\\'" "/ssh:%h:"))))
+
+;; start server
+(server-start)

    (insert text)))
(define-key osx-key-mode-map [(alt p)] 'duplicate-line)

(global-set-key [(meta ?`)] 'compile)
(global-set-key [(meta ?~)] 'next-error)
(global-set-key [(control meta ?~)] 'first-error)

(define-key osx-key-mode-map [(meta alt f)] 'replace-string)

(defun insert-day-stamp ()
  (interactive "*")
  (insert (format-time-string "%Y-%m-%d" (current-time))))

;; indentation
(setq-default indent-tabs-mode nil)
(setq-default tab-width 2)
(setq-default py-indent-offset 2)
