     (kill-buffer (current-buffer))))
 
 (defun modi/quit-and-kill-window ()
+  "Quit window and kill instead of burying the buffer in it."
   (interactive)
   (quit-window :kill))
 

         ("C-c o"   . rotate-frame)
         ("C-c C-\\" . transpose-frame))) ; toggles between horz/vert splits

;; http://www.whattheemacsd.com/
(defun delete-current-buffer-file ()
  "Deletes file connected to current buffer and kills buffer."
  (interactive)
  (let ((filename (buffer-file-name))
        (buffer (current-buffer))
        (name (buffer-name)))
    (if (not (and filename (file-exists-p filename)))
        (ido-kill-buffer)
      (when (yes-or-no-p "Are you sure you want to delete this file? ")
        (delete-file filename)
        (kill-buffer buffer)
        (message "File `%s' successfully deleted." filename)))))

;; http://www.whattheemacsd.com/
(defun rename-current-buffer-file ()

;; Time-stamp: <2016-02-20 01:40:39 kmodi>

;; Functions to manipulate windows and buffers

