 ;; (C-l C-l) scrolls the window so that point is on the topmost screen line.
 ;; Typing a third C-l scrolls the window so that point is on the bottom-most
 ;; screen line. Each successive C-l cycles through these three positions.
-
-;; (global-set-key (kbd "<C-tab>")   'other-window) ;; alternative shortcut for `C-x o`
-;; ;; Cycle the buffers in reverse order than what happens with `C-x o`
-;; (global-set-key (kbd "C-x O")
-;;                 (lambda ()
-;;                   (interactive)
-;;                   (other-window -1)))

  "kill the minibuffer"
  (when (and (>= (recursion-depth) 1) (active-minibuffer-window))
    (abort-recursive-edit)))
(add-hook 'mouse-leave-buffer-hook 'stop-using-minibuffer)

;; http://www.emacswiki.org/emacs/SwitchingBuffers
(defun toggle-between-buffers ()

    (key-chord-define-global "p[" #'windmove-left)
    (key-chord-define-global "[]" #'windmove-right)))

;; Reopen Killed File
;; http://emacs.stackexchange.com/a/3334/115
(defvar killed-file-list nil
  "List of recently killed files.")

