Last Updated: February 25, 2016
·
984
· flori

Command to create ctags for a project in vim

This defines a :Createtags command in vim:

function! Ccreatetags()
  call system("ctags --recurse=yes --languages=Ruby,C . `bundle list --paths`")
endfunction
command Createtags :call Ccreatetags()

The created tags also include all the bundled gems.