 (setq mac-option-modifier 'meta)
 ;;
 ;; Mimic native Mac OS behavior
-(global-set-key "\M-_" 'mdash)
+(global-set-key "\M-_" '--mdash)
 ;;
 ;; Mimic my tmux bindings, sort of
 (define-key key-translation-map "\C-j" "\C-x")

  (setq frame-background-mode 'dark)
  (load-theme 'solarized t))

(defun fuck-you ()
  "Because it won't work on init with Debian Terminal."
  (interactive)
  (setq solarized-termcolors 256)
  (setq frame-background-mode 'light)
  (load-theme 'solarized t))

(defun shell-command-replace-region (start end command
                                           &optional output-buffer replace
                                           error-buffer display-error-buffer)
  "Slightly modified version of `shell-command-on-region'.

;;
(global-set-key "\C-x\C-b" 'ibuffer)
(global-set-key "\C-co" 'browse-url-at-point)
(global-set-key "\C-cp" '--pbpaste)
(global-set-key "\C-cs" '--shell-command-replace-region)
;;
;; bindings for custom functions defined below
(global-set-key "\C-ck" '--insert-kbd)
(global-set-key "\C-cy" '--shruggie)
(global-set-key "\C-cz" '--new-shell)
(global-set-key "\C-xm" 'company-complete)
(global-set-key "\C-c\C-l" '--solarized-light)
(global-set-key "\C-c\C-d" '--solarized-dark)
