   :config
   (exec-path-from-shell-initialize))
 
+;; Install macOS specific helper packages
+(use-package osx-clipboard
+  :if (eq system-type 'darwin)
+  
 ;; misc variables
+(when window-system
+  (set-frame-position (selected-frame) 0 0)
+  (set-frame-size (selected-frame) 132 70))
+(setq tab-width 4)          ; and 4 char wide for TAB
+(setq indent-tabs-mode nil) ; And force use of spaces
+(turn-on-font-lock)         ; same as syntax on in Vim
+(setq inhibit-startup-screen t)
+(setq vc-follow-symlinks t)
 (setq scroll-step 1) ;; M-n & M-p scroll one line not many
 (setq calendar-latitude 38.9047)
 (setq calendar-longitude -77.0164)


;; put speedbar in same frame. CMD-s should toggle it...
(use-package sr-speedbar
	     :bind ("s-s" . sr-speedbar-toggle))


; Display (or don't display) trailing whitespace characters using an
; unusual background color so they are visible.
(setq-default show-trailing-whitespace t)
(setq-default indicate-empty-lines t)

; Use yaml-mode for YAML files
(use-package yaml-mode
	     :mode
	     (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode)))

; Configure LaTeX stuff like Auctex
(use-package tex

;; (eval-after-load 'tramp-sh '(add-to-list 'tramp-actions-before-shell
;;              '(DSRC-tramp-prompt-regexp DSRC-tramp-action)))

;; ;; Flymake
;; (use-package flymake
;; 	     :init
;; 	     (setq flymake-run-in-place nil) ; nice default 4 tramp, .dir-locals.el overrides
;; 	     :config
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(package-selected-packages
   (quote
    (auctex zenburn-theme use-package exec-path-from-shell))))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )
