  ("C-,"         . shrink-window-horizontally)
  ("C-."         . enlarge-window-horizontally)
  ("C-;"         . shrink-window)
- ("C-c k"       . windmove-up) ;; switch to buffer on top
- ("C-c j"       . windmove-down) ;; switch to buffer on bottom
- ("C-c h"       . windmove-left) ;; switch to buffer on left
- ("C-c l"       . windmove-right) ;; switch to buffer on right
  ("C-c t"       . toggle-window-split) ;; convert between horz-split <-> vert-split
  ("C-c s"       . rotate-windows) ;; rotate windows clockwise. This will do the act of swapping windows if the frame is split into only 2 windows
  ("C-x C-b"     . ibuffer)) ;; replace buffer-menu with ibuffer


;; Source: http://www.emacswiki.org/emacs-en/download/misc-cmds.el
(defun revert-buffer-no-confirm ()
    "Revert buffer without confirmation."
    (interactive)
    (revert-buffer t t))

;; Revert All Buffers
(defun revert-all-buffers ()
   "Refreshes all open buffers from their respective files"
   (interactive)
   (let* ((list (buffer-list))
          (buffer (car list)))
     (while buffer
       (when (and (buffer-file-name buffer) (not (buffer-modified-p buffer)))
         (set-buffer buffer)
         (revert-buffer t t t))
       (setq list (cdr list))
       (setq buffer (car list))))
  (message "Refreshing open files"))

;; Set the frame size to fill the left screen

 ("C-x C-p"     . show-copy-buffer-file-name)
 ("C-x C-k"     . delete-current-buffer-file)
 ("C-x C-r"     . rename-current-buffer-file)
 ("C-S-t"       . reopen-killed-file) ;; same shortcut as for reopening closed tabs in browsers
 ;; ("C-S-t"       . undo-kill-buffer) ;; same shortcut as for reopening closed tabs in browsers
 ;; Make Alt+mousewheel scroll the other buffer
 ("<M-mouse-4>" . scroll-other-window-down-dont-move-point) ;; M + wheel up
 ("<M-mouse-5>" . scroll-other-window-up-dont-move-point) ;; M + wheel down
