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.
Written by Florian Frank
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#