(re) gerar ctags para incluir joias agrupadas

ctags são fantásticas para navegar no código-fonte. Se não os estiver usando atualmente, este artigo oferece uma boa introdução.

Se você estiver usando um projeto com bundler, o seguinte irá ajudá-lo a gerar tags para suas joias.

No diretório do seu projeto:

ctags -e --exclude=.git --exclude='*.log' -R * `bundle show --paths`

Meu mapeamento de teclas:

map <Leader>rft :!ctags -e --exclude=.git --exclude='*.log' -R * `bundle show --paths` <CR><CR>