 (my-global-set-key (kbd "<S-return>") 'my-dired)
 
 (when (eq system-type 'darwin)
-  (my-global-set-key (kbd "<s-up>") 'scroll-down)
-  (my-global-set-key (kbd "<s-down>") 'scroll-up))
+  (my-global-set-key (kbd "<s-down>") 'scroll-up)
+  (my-global-set-key (kbd "<s-up>") 'scroll-down))
 
 (my-global-set-key (kbd "<C-tab>") 'my-switch-to-buffer)
 

(my-global-set-key (kbd "C-w") 'my-kill-current-buffer)
(my-global-set-key (kbd "C-y") 'my-yank)
(my-global-set-key (kbd "C-z") 'undo)
(my-global-set-key (kbd "C-/") 'my-comment-line-or-region)

(my-global-set-key (kbd "C-c c") 'calendar)
(my-global-set-key (kbd "C-c d") 'my-toggle-key-bindings)
(my-global-set-key (kbd "C-c i") 'my-change-inside-pair)
(my-global-set-key (kbd "C-c l") 'toggle-truncate-lines)
(my-global-set-key (kbd "C-c r") 'find-library)
(my-global-set-key (kbd "C-c v") 'view-mode)
(my-global-set-key (kbd "C-c w") 'compare-windows)
(my-global-set-key (kbd "C-c TAB") 'yas/expand)

(my-global-set-key (kbd "C-,") 'beginning-of-buffer)
(my-global-set-key (kbd "C-.") 'end-of-buffer)
(my-global-set-key (kbd "C-;") 'eval-expression)
;; (my-global-set-key (kbd "C-\\") ')
(my-global-set-key (kbd "C-'") 'eval-last-sexp)
(my-global-set-key (kbd "C-\"") 'my-emacs-lisp-eval)
(my-global-set-key (kbd "C-0") 'delete-window)
(my-global-set-key (kbd "C-1") 'delete-other-windows)
(my-global-set-key (kbd "C-2") 'split-window-vertically)
(my-global-set-key (kbd "C-3") 'split-window-horizontally)

(my-global-set-key (kbd "S-C-d") 'my-duplicate-line-or-region)
(my-global-set-key (kbd "S-C-f") 'my-find-in-directory)

(my-global-set-key (kbd "C-/") 'my-comment-line-or-region)
(my-global-set-key (kbd "C-a") 'my-beginning-of-line)
(my-global-set-key (kbd "C-b") 'backward-kill-word)
(my-global-set-key (kbd "C-d") 'kill-word)
