Atom 相关配置备份

秋光熙
2023-12-01

相关插件:

        simplified-chinese-menu            chinakids

        highlight-selected                       richrace

        atom-python-run                         foreshadow

        minimap                                      atom-minimap

        platformio-ide-terminal                platformio     

        activate-power-mode                  JoelBesada 

        pigments                                      abe33

        remote-ftp                                    icetee       

        language-latex                             area

        latex                                             thomasjo

        pdf-view                                       izuazk

snippets.cson

'.source.python':
  'file header':
    'prefix': 'fheader'
    'body': """
        # FileName    :  $1
        # Author      :  Donghao
        # CreateTime  :  2021-12-${2:2} $3:$4
        # ModifyTime  :  2021-12-${2:2} $3:$4
        # Description :  $5
        """
  'time creater':
    'prefix': 'time'
    'body': '2021-12-$1 $2:$3'

keymap.cson

'atom-text-editor:not([mini])':
  'ctrl-shift-D': 'editor:delete-line'

'atom-workspace atom-text-editor:not([mini])':
  'ctrl-shift-C': 'editor:duplicate-lines'

config.cson

"*":
  "activate-power-mode":
    comboMode:
      enabled: false
    particles:
      colours:
        type: "random"
    playAudio:
      audioclip: "../audioclips/typewriter.wav"
      enabled: true
    plugins:
      playAudio: true
      screenShake: true
    screenShake:
      enabled: false
  "atom-python-run":
    f5Command: "/home/donghao/anaconda3/envs/envname/bin/python {file}"
    f6Command: "/home/donghao/anaconda3/bin/python {file}"
  core:
    autoHideMenuBar: true
    automaticallyUpdate: false
    closeDeletedFileTabs: true
    projectHome: "/home/donghao/atom"
    telemetryConsent: "no"
    warnOnLargeFileLimit: 100
  editor:
    defaultFontSize: 20
    fontSize: 20
    invisibles:
      cr: " "
      eol: " "
    preferredLineLength: 150
    scrollPastEnd: true
    showIndentGuide: true
    showInvisibles: true
    softWrap: true
    softWrapAtPreferredLineLength: true
    tabLength: 4
  "exception-reporting":
    userId: "73f9f9e8-1daf-4218-aa1f-3c52f10f01e6"
  "highlight-selected":
    showResultsOnScrollBar: true
  minimap:
    moveCursorOnMinimapClick: true
  "platformio-ide-terminal":
    core:
      mapTerminalsToAutoOpen: true
      scrollback: 99999999999999
    style:
      theme: "pro"
    toggles:
      showToolbar: false
  welcome:
    showOnStartup: false

更换插件源:  ~/.atom/.apmrc

registry=https://registry.npm.taobao.org

Atom改国内源 - Rubrum - 博客园

安装自己下载的包:

# 下载解压好之后,放到~/.atom/packages/ 目录下; 在软件包内执行:
apm install

# 安装后,返回上一级目录,在软件包外执行:
apm link /软件包路径/软件包名

 类似资料: