Skip to content

Instantly share code, notes, and snippets.

@hvmonteiro
Last active April 12, 2016 18:08
Show Gist options
  • Save hvmonteiro/d85f9a9edc6f051b8e5b to your computer and use it in GitHub Desktop.
Save hvmonteiro/d85f9a9edc6f051b8e5b to your computer and use it in GitHub Desktop.
atom.io - package 'sync-settings' (file: toolbar-custom_entries.js)
module.exports = [{
type: 'button',
tooltip: 'New File',
callback: 'application:new-file',
icon: 'file-document',
iconset: 'mdi'
}, {
type: 'button',
tooltip: 'Open File',
callback: 'application:open-file',
icon: 'open-in-app',
iconset: 'mdi'
}, {
type: 'button',
tooltip: 'Save File',
callback: 'core:save',
icon: 'content-save',
iconset: 'mdi'
}, {
type: 'spacer'
}, {
type: 'button',
tooltip: 'Open Folder',
callback: 'application:open-folder',
icon: 'folder-open',
iconset: 'fa'
}, {
type: 'spacer'
}, {
type: 'button',
tooltip: 'Fold all',
callback: 'editor:fold-all',
icon: 'level-up',
iconset: 'fa'
}, {
type: 'button',
tooltip: 'Unfold all',
callback: 'editor:unfold-all',
icon: 'level-down',
iconset: 'fa'
}, {
type: 'spacer'
}, {
type: 'button',
tooltip: 'Split screen - Horizontally',
callback: 'pane:split-right',
icon: 'border-vertical',
iconset: 'mdi'
}, {
type: 'button',
tooltip: 'Split screen - Vertically',
callback: 'pane:split-down',
icon: 'border-horizontal',
iconset: 'mdi'
}, {
type: 'spacer'
}, {
type: 'button',
tooltip: 'Toggle Sidebar',
callback: 'tree-view:toggle',
icon: 'table-column-plus-after',
iconset: 'mdi'
}, {
type: 'button',
tooltip: 'Toggle Minimap',
dependency: 'minimap',
callback: 'minimap:toggle',
icon: 'table-column-plus-before',
iconset: 'mdi'
}, {
type: 'button',
tooltip: 'Toggle Navpanel',
dependency: 'nav-panel',
callback: 'nav-panel:toggle',
icon: 'th-list',
iconset: 'fa'
}, {
type: 'button',
tooltip: 'Expose Open Tabs',
dependency: 'expose',
callback: 'expose:toggle',
icon: 'windows',
iconset: 'fa'
}, {
type: 'spacer'
}, {
type: 'button',
tooltip: 'Remote Sync: Upload File',
dependency: 'remote-sync',
callback: 'remote-sync:upload-file',
icon: 'file-export',
iconset: 'mdi'
}, {
type: 'button',
tooltip: 'Remote Sync: Download File',
dependency: 'remote-sync',
callback: 'remote-sync:download-file',
icon: 'file-import',
iconset: 'mdi'
}, {
type: 'button',
tooltip: 'Remote Sync: Diff File',
dependency: 'remote-sync',
callback: 'remote-sync:diff-file',
icon: 'compare',
iconset: 'mdi'
}, {
type: 'button',
tooltip: 'Remote Sync: Delete Remote File',
dependency: 'remote-sync',
callback: 'remote-sync:delete-file',
icon: 'delete',
iconset: 'mdi'
}, {
type: 'button',
tooltip: 'Remote Sync: Settings',
dependency: 'remote-sync',
callback: 'remote-sync:configure',
icon: 'settings-box',
iconset: 'mdi'
}, {
type: 'spacer'
}, {
type: 'button',
tooltip: 'Toggle Developer Tools',
callback: 'window:toggle-dev-tools',
icon: 'bug'
}, {
type: 'button',
tooltip: 'Toggle Web Browser',
callback: 'browser-plus:open',
icon: 'web',
iconset: 'mdi'
}, {
type: 'spacer'
}, {
type: 'button',
tooltip: 'Toggle Fullscreen',
callback: 'window:toggle-full-screen',
icon: 'arrow-expand',
iconset: 'mdi'
}, {
type: 'button',
tooltip: 'Reload Window',
callback: 'window:reload',
icon: 'refresh',
iconset: 'ion'
}, {
type: 'button',
tooltip: 'Open Settings View',
callback: 'settings-view:open',
icon: 'gear-a',
iconset: 'ion'
}]
@hvmonteiro
Copy link
Author

Customized toolbar settings for Atom.io package 'sync-settings'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment