Currently I have a short cut to call the function 'helm-ag' (Using evil-leader)
(evil-leader/set-leader ".")
(evil-leader/set-key "g" 'helm-ag)
When 'helm-ag' is called with the Universal-argument (Ctrl - U) it allows me to choose in which directory I'd like to run the command. I use this all the time so I'd like to create a permanent short to specifically run the 'helm-ag' with the universal argument.
I've tried this:
(evil-leader/set-key "g" '(lambda () (interactive)(universal-argument)(helm-ag))
But it doesn't work. Any ideas?
Thanks