In my .vimrc I list my vundle bundles like so:
cat ~/.vimrc
...
Bundle 'Raimondi/delimitMate'
Bundle 'kien/ctrlp.vim'
Bundle 'matchit.zip'
Bundle 'upAndDown'
Bundle 'rking/ag.vim'
...
Now, I would like to quickly sort my Bundle list by the bundles name, which works for lines where /
is present, like so:
cat ~/.vimrc | sort -t "/" -k2,2
...
Bundle 'matchit.zip'
Bundle 'upAndDown'
Bundle 'rking/ag.vim'
Bundle 'kien/ctrlp.vim'
Bundle 'Raimondi/delimitMate'
...
How would I sort lines where there is nofoo/
prepended to the bundles name, as is the case e.g. for Bundle 'matchit.zip'
?