Skip to content

Instantly share code, notes, and snippets.

@dfischer
Created August 3, 2012 22:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dfischer/3252331 to your computer and use it in GitHub Desktop.
Save dfischer/3252331 to your computer and use it in GitHub Desktop.
VIM SCSS
When viewing a SCSS/Sass file show the selector path in the status bar of the file?
E.g
```scss
.page-footer {
.events {
@include column(3);
@include mobileColumn(4);
float: right;
@include respondTo(smallScreen) {
float: none;
}
.events-title {
font-size: ms(3);
}
.events-past-title {
font-size: ms(2);
}
.event {
@include mobileColumn(4);
.nested-example here {
}
}
}
```
If you were inside "nested-example-here" the vim status bar would show `page-footer > event > .nested-example here`
Is this possible?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment