Add :todo and doom/ivy-tasks

This commit is contained in:
Henrik Lissner 2016-09-09 08:56:28 +02:00
parent 97dad70392
commit 6fc23c6a14
2 changed files with 7 additions and 0 deletions

View file

@ -100,6 +100,12 @@ DIR specifies the default-directory from which ag is run."
(interactive "<r><a><!>") (interactive "<r><a><!>")
(doom:ivy-ag-search beg end search regex-p default-directory)) (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 ;;;###autoload
(defun doom*counsel-ag-function (string extra-ag-args) (defun doom*counsel-ag-function (string extra-ag-args)
"Advice to get rid of the character limit from `counsel-ag-function', which "Advice to get rid of the character limit from `counsel-ag-function', which

View file

@ -77,6 +77,7 @@
(ex! "build" 'doom:build) (ex! "build" 'doom:build)
(ex! "debug" 'doom:debug) (ex! "debug" 'doom:debug)
(ex! "er[rors]" 'doom/flycheck-errors) (ex! "er[rors]" 'doom/flycheck-errors)
(ex! "todo" 'doom/ivy-tasks)
(ex! "ma[ke]" 'doom:build) (ex! "ma[ke]" 'doom:build)
;; File operations ;; File operations