https://github.com/nomocas/buddyfile
Sublime Text 3 Buddy File plugin for displaying coupled files in two panes
https://github.com/nomocas/buddyfile
Last synced: 3 months ago
JSON representation
Sublime Text 3 Buddy File plugin for displaying coupled files in two panes
- Host: GitHub
- URL: https://github.com/nomocas/buddyfile
- Owner: nomocas
- Created: 2016-01-26T14:12:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-27T22:58:57.000Z (over 9 years ago)
- Last Synced: 2025-01-21T11:46:01.758Z (4 months ago)
- Language: Python
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Buddyfile
Sublime Text 3 plugin for displaying coupled files in two panes.
Really useful for by example loading (s)css file along with associated js/html file.
## Usage
Simply add a comment in master file at first line as :
// --buddyfile: ./my/relative/path/to/coupled/file(should work with # or html comments)
And pointed file will be loaded and displayed in second pane when master file is opened
(buddy file is loaded by default but you could override that in settings)When master file is closed, buddy file is closed to. (also overridable in settings)
## Target labels
We could add labels in buddyfile and point to it in master file :
At top of master file : `// --buddyfile: ./my/path @myLabel`
Somewhere in buddy file : `// --buddylabel: myLabel`
When buddy opens, it will scrolls to label.
## Keymap
OSX only for the moment :
ctrl+super+b : open or show buddy file but keep focus in master file
ctrl+super+alt+b : open or show buddy file and focus on it
ctrl+super+shift+b : close buddy file
## Todo
- Add package to package-control
- manage keymap for all plateforms