             (helm-find-files-up-one-level 1)
           ad-do-it))
 
+      (defun spacemacs/helm-do-ag-symbol ()
+        "Perform a search with ag using `helm-ag.' Defaults to symbol at point."
+        (interactive)
+        (let ((helm-ag-insert-at-point 'symbol))
+          (call-interactively 'helm-do-ag)))
+
       (defun spacemacs/helm-do-ack ()
         "Perform a search with ack using `helm-ag.'"
         (interactive)

        "rm"  'helm-all-mark-rings
        "s/"  'spacemacs/helm-smart-do-search
        "sa"  'helm-do-ag
        "sg"  'helm-do-grep
        "sk"  'spacemacs/helm-do-ack
        "sp"  'spacemacs/helm-do-pt
        "sL"  'spacemacs/last-search-buffer
        "sl"  'helm-semantic-or-imenu)


                 (propx/y (propertize x/y 'face ahs-plugin-whole-buffer-face))
                 (hidden (if (< 0 (- overlay-count (nth 4 st))) "*" ""))
                 (prophidden (propertize hidden 'face '(:weight bold))))
            (echo "%s %s%s press (n/N) to navigate, (e) to edit, (r) to change range or (R) for reset (d) to go to next definition (D) to go to previous definition (/) to find in project (?) to find in other files"
                  propplugin propx/y prophidden)))))))

(defun spacemacs/init-bind-key ())
