diff --git a/core/defuns/defuns-ivy.el b/core/defuns/defuns-ivy.el index 707e0ef4b..5fb9daeb7 100644 --- a/core/defuns/defuns-ivy.el +++ b/core/defuns/defuns-ivy.el @@ -100,6 +100,12 @@ DIR specifies the default-directory from which ag is run." (interactive "") (doom:ivy-ag-search beg end search regex-p default-directory)) +;;;###autoload +(defun doom/ivy-tasks () + (interactive) + ;; TODO Something a little nicer + (counsel-ag " (TODO|FIXME|NOTE) " (doom/project-root))) + ;;;###autoload (defun doom*counsel-ag-function (string extra-ag-args) "Advice to get rid of the character limit from `counsel-ag-function', which diff --git a/private/my-commands.el b/private/my-commands.el index 736a75b85..ab0d98e8e 100644 --- a/private/my-commands.el +++ b/private/my-commands.el @@ -77,6 +77,7 @@ (ex! "build" 'doom:build) (ex! "debug" 'doom:debug) (ex! "er[rors]" 'doom/flycheck-errors) +(ex! "todo" 'doom/ivy-tasks) (ex! "ma[ke]" 'doom:build) ;; File operations