       (evil-ret-and-indent))))
 
 (defun my.minibuffer-quit ()
-  "Abort recursive edit.
-        In Delete Selection mode, if the mark is active, just deactivate it;
-        then it takes a second \\[keyboard-quit] to abort the minibuffer."
+  "Abort recursive edit. In Delete Selection mode, if the mark is
+active, just deactivate it; then it takes a second \\[keyboard-quit]
+to abort the minibuffer."
   (interactive)
   (if (and delete-selection-mode transient-mark-mode mark-active)
       (setq deactivate-mark t)


;; Mimic expandtab in vim
(defun my.backward-delete-whitespace-to-column ()
  "delete back to the previous column of whitespace, or as much whitespace as possible,
or just one char if that's not possible. If it's at the beginning of the line, join with the previous line."
  (interactive)
  (if indent-tabs-mode
      (call-interactively 'backward-delete-char)


;; TODO Make inflate/deflate smarter
(defun my.inflate-space-maybe ()
  "Checks if point is surrounded by {} [] () delimiters and adds a
space on either side of the point if so."
  (interactive)
  (if (my/surrounded-p)
      (progn (insert " ") (save-excursion (insert " ")))
    (insert " ")))

(defun my.deflate-space-maybe ()
  "Checks if point is surrounded by {} [] () delimiters, and deletes
spaces on either side of the point if so. Resorts to
`my.backward-delete-whitespace-to-column' otherwise."
  (interactive)
  (if (my/surrounded-p)
      (progn (delete-char -1) (save-excursion (delete-char 1)))
    (my.backward-delete-whitespace-to-column)))

(defun my.dumb-indent ()
  "Inserts a tab character (or spaces x tab-width). Checks if the
auto-complete window is open."
  (interactive)
  (when (not (ac-menu-live-p))
    (let ((indent-mode indent-tabs-mode))
