+(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)

(my-global-set-key (kbd "S-C-r") 'query-replace-regexp)
(my-global-set-key (kbd "S-C-w") 'delete-frame)

(my-global-set-key (kbd "<M-down>") 'scroll-up)
(my-global-set-key (kbd "<M-up>") 'scroll-down)
(my-global-set-key (kbd "<M-SPC>") 'my-just-one-space)

(my-global-set-key (kbd "C-x l") 'my-count-lines-buffer)
(my-global-set-key (kbd "C-x s") 'my-start-line-or-region-swap)

(my-global-set-key (kbd "<f1>") 'magit-status)
(my-global-set-key (kbd "<f6>") 'find-tag)
(my-global-set-key (kbd "<S-f6>") 'my-find-tag-next)
(my-global-set-key (kbd "<f7>") 'pop-tag-mark)

(my-global-set-key (kbd "<C-S-iso-lefttab>") 'other-frame)

(my-global-set-key (kbd "<S-return>") 'my-dired)

(when (eq system-type 'darwin)
  (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)

