I've used the following in Vim for years now:
:nmap <C-f> :!ack <cword><CR>
No sense in being any more complex than that, as far as I can tell. :nmap <C-f> :!ack <cword><CR>
No sense in being any more complex than that, as far as I can tell.The benefit is one of UI/UX, it doesn't actually perform an action you couldn't perform text-only.