Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Well, the reason I built this is that it's much nicer to browse the results IMO. You can collapse files, you get bolded fonts, you get different colors, and much better use of whitespace. It's also easier to define options like regex and case-sensitivity vs. having to remember the flags in the command.

The benefit is one of UI/UX, it doesn't actually perform an action you couldn't perform text-only.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: