Skip to content

Commit

Permalink
feat(show_tab_navigation): add option show_tab_navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroreisvieira committed Jun 4, 2020
1 parent 8d1025d commit d0a0c68
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
23 changes: 22 additions & 1 deletion GitHub-Theme.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,34 @@
"bg": "var(titleBarBg)",
"fg": "var(titleBarColor)"
},
{
"class": "scroll_tabs_left_button",
"settings": ["show_tab_navigation"],
"content_margin": [9, 10]
},
{
"class": "scroll_tabs_right_button",
"settings": ["show_tab_navigation"],
"content_margin": [9, 10]
},
{
"class": "scroll_tabs_left_button",
"settings": ["!show_tab_navigation"],
"content_margin": 0
},
{
"class": "scroll_tabs_right_button",
"settings": ["!show_tab_navigation"],
"content_margin": 0
},
{
"class": "tabset_control",
"layer0.tint": "var(bg)",
"layer3.inner_margin": "var(tabBorderSize)",
"layer3.draw_center": false,
"layer3.tint": "var(borderColor)",
"layer3.opacity": 1
"layer3.opacity": 1,
"content_margin": [0, 0, 8, 0],
},
{
"class": "tabset_control",
Expand Down
4 changes: 4 additions & 0 deletions Preferences.sublime-settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
// show tab navigation buttons left and right
"show_tab_navigation": true
}
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ Manually you can go to (**Preferences → Settings - User**) and paste the follo
}
```

## Recommended Settings

```json
{
"show_tab_navigation": "false",
"show_sidebar_disclosure": "false"
}
```

## What’s Next

- Support for more language syntax.
Expand Down

0 comments on commit d0a0c68

Please sign in to comment.