yfl41a
Last Updated: February 25, 2016
·
840
· 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.