Skip to content

Instantly share code, notes, and snippets.

@DiegoPino
Created January 17, 2019 17:48
Show Gist options
  • Save DiegoPino/62551943fb11d3c49faa1d601534c248 to your computer and use it in GitHub Desktop.
Save DiegoPino/62551943fb11d3c49faa1d601534c248 to your computer and use it in GitHub Desktop.
Replacement CSON for .atom/packages/atom-sync/menus/atom-sync.cson : Atom >=1.32
# See https://github.com/atom/tree-view/blob/master/menus/tree-view.cson
'context-menu':
'.tree-view .full-menu': [
'label': 'Sync Folder'
'submenu': [
{
'label': 'Edit Sync Config'
'command': 'atom-sync:configure'
}
{
'label': 'Sync Remote -> Local'
'command': 'atom-sync:download-directory'
}
{
'label': 'Sync Local -> Remote'
'command': 'atom-sync:upload-directory'
}
]
]
'.tree-view .full-menu [is="tree-view-file"]': [
'label': 'Sync File'
'submenu': [
{
'label': 'Download File'
'command': 'atom-sync:download-file'
}
{
'label': 'Upload File'
'command': 'atom-sync:upload-file'
}
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment