   (define-key map (kbd "C-/") 'undo)
   (define-key map (kbd "C-\\") 'redo)
 
-  ;;(define-key map (kbd "C-/") 'toggle-letter-case)
-
   (define-key map (kbd "C-o")
     (lambda() (interactive) (other-window 1)))
   (define-key map (kbd "C-S-o")


(require 'ido)
(ido-mode t)
;;(ido-mode 'buffers) ;; only use this line to turn off ido for file names!
(setq ido-ignore-buffers '("^ " "*Completions*" "*Shell Command Output*"
                           "*Messages*" "Async Shell Command"))


   (if (use-region-p) 'kill-region 'backward-kill-word)))

(defun kill-this-buffer-and-delete-file ()
  "Kill the current buffer and file it is visiting file."
  (interactive)
  (let ((filename (buffer-file-name))
        (buffer (current-buffer))
