public
Description: My .vim directory as well as my dev tool scripts
Homepage: http://blog.paulbetts.org/index.php/2007/03/06/my-awesome-vimrc-open-source-libraries-ctags-intellisense-1-for-linux/
Clone URL: git://github.com/xpaulbettsx/vimrc.git
vimrc / ctags_to_file
100755 8 lines (6 sloc) 0.174 kb
1
2
3
4
5
6
7
8
#!/bin/bash
 
echo "Generating tags for $1..."
mkdir -p $2/$1
rm -rf $2/$1/*
./generate_ctags.rb --target $2/$1 $PWD/$1
./sort-tags < $2/$1 > $2/$1.tmp && mv $2/$1.tmp $2/$1