Skip to content

Instantly share code, notes, and snippets.

@daviderestivo
Created January 23, 2021 07:41
Show Gist options
  • Save daviderestivo/48fb7434c08c45caa191b8b160c61b48 to your computer and use it in GitHub Desktop.
Save daviderestivo/48fb7434c08c45caa191b8b160c61b48 to your computer and use it in GitHub Desktop.
Helm search function
(defun helm-search-doc-ag ()
"Search for a keyword in the Documents folder using ag"
(interactive)
(helm-do-ag "~/Documents"))
(global-set-key (kbd "<f5>") 'helm-search-doc-ag)
@AtomicNess123
Copy link

Thanks, excellent. So both of these options will include .gitignore files, I understand. Is there an equal option to search all files, hidden included, but not .gitignore files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment