Atom sync-setting配置问题

Atom 简介

我自己很喜欢用Atom编辑器,它和notepad++很类似,但不同的是他可以安装很多插件,通过插件可以让他变得更好用。不过ATOM运行效率远远没有notepad++高了,追求高性能的用户还是不要用了。

那么安装了很多插件,如果换了台电脑或是重装了系统,怎么记得那么一大堆插件装了哪些呢??这里可以使用sync-setting作为管理,那么更换电脑后,只要先把sync-setting插件安装上,便可以保证其余的插件都会自动同步安装下来。

sync-setting 简介

sync-settings是一款备份插件,可以备份ATOM的全局设置、插件、按键绑定(keymaps)、界面样式、代码片段(snippets )、 init script。

sync-setting 配置

这里写图片描述

配置项的Access Token 和Gist ID需要到github去申请

Setup

  1. Open Sync Settings configuration in Atom Settings.
  2. Create a new personal access token which has the gist scope and be sure to activate permissions: Gist -> create gists.
  3. Copy the access token to Sync Settings configuration or set it as an environmental variable GITHUB_TOKEN.
  4. Create a new gist:

    • The description can be left empty. It will be set when invoking the backup command the first time.
    • Use packages.json as the filename.
    • Put some arbitrary non-empty content into the file. It will be overwritten by the first invocation of the backup command
    • Save the gist.
  5. Copy the gist id (last part of url after the username) to Sync Settings configuration.

Disclaimer: GitHub Gists are by default public. If you don’t want other people to easily find your gist (i.e. if you use certain packages, storing auth-tokens, a malicious party could abuse them), you should make sure to create a secret gist.

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值