       (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)

(defun my/surrounded-p ()
  (and (looking-back "[[{(]\s*")
       (looking-at-p "\s*[]})]"))


;; 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 (using `autopair-backspace')
if that's not possible."
  (interactive)
  (if indent-tabs-mode
      (call-interactively 'backward-delete-char)
