I created a Sublime plugin to aid my workflow.
It shows and hides specific files from the navigation and search easily inside the editor using a JSON config.
Hide and Show Sublime Files
Instructions
- Using Package Control, install “HideFiles”
Or:
Open the Sublime Text 2 Packages folder
- OS X: ~/Library/Application Support/Sublime Text 2/Packages/
- Windows: %APPDATA%/Sublime Text 2/Packages/
- Linux: ~/.Sublime Text 2/Packages/
Clone this repo
Configuration
Change the hidefiles.sublime-settings:
{
"coffee": ["*.js","*.md","*.json","*.txt"],
"js": ["*.coffee","*.html","*.css"]
}
Where each property specifies the files in an array that are to be hidden when activated.
Commands
hide_files
Hides the files for the currently opened file type
show_files
Shows the files for the currently opened file type
Default Keymap
hide_files
ctrl+shift+-
show_files
ctrl+shift+=