Skip to content

Instantly share code, notes, and snippets.

@Phize
Created December 28, 2011 12:57
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Phize/1527856 to your computer and use it in GitHub Desktop.
Save Phize/1527856 to your computer and use it in GitHub Desktop.
Vim: CSS tag list with Ctags (patched) + Tagbar plugin.
" Ctags (patch): http://designtomarkup.com/vim/taglist-ctags-css-patch
" Tagbar : https://github.com/majutsushi/tagbar
" Screenshot : http://twitpic.com/7zq4d7
"Tagbar
noremap <silent> <Leader>t :<C-u>TagbarToggle<CR>
let g:tagbar_type_css = {
\ 'ctagstype' : 'Css',
\ 'kinds' : [
\ 'c:classes',
\ 's:selectors',
\ 'i:identities'
\ ]
\ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment