Atom

From wikinotes

Github's Sublime Text 2 clone.

install

aurquery atom-editor-bin							## I'm not looking to get too invested in atom, precompiled binaries are fine


basic navigation

General
(Ctrl + Shft + p) command pane
(command-pane) install packages Settings Install packages & themes
Tabs
(Alt + [0-9]) switch tabs
(Ctrl + w ) close tab
Panes/Splits
(Ctrl + k ) (up/down/left/right) split left/right/up/down
(Ctrl + k ) (Ctrl + up/down/left/right) select pane up/down/left/right


package management

Atom is bundled with apm, a wrapper around npm. You can acess it with: Ctrl + Shift + P: install packages

configuration

Most of your basic configuration is done from the gui, but there is a JSON file that can be used for some simple configuration. It's no vimrc, but I'm sure beginners will appreciate quickly getting into it.


"*":
  "exception-reporting":
    userId: "e0297b94-1d94-6389-be28-40e824edcae6"
  welcome:
    showOnStartup: false
  editor:
    invisibles: {}
    scrollPastEnd: true
    tabLength: 3
    fontSize: 17

  core:
    themes: [
      "atom-dark-ui"
      "zenburn-theme"
    ]
    projectHome: "/home/will/progs"
  "tree-view":
    showOnRightSide: false


### Override Language-Specific settings
'.python.source':
  'editor':
    'tabLength': 3

code folding

Code folding in atom is determined by the language-syntax file. /usr/share/atom/resources/app/node_modules/language-*/settings/language-*.json. The attribute that determines it is the foldeEndPattern.

Packages

fonts

Litterally called fonts. A collection of monospaced fonts.

zenburn (theme)

(command-pane) Settings > Themes zenburn theme

minimap

Scrollbar that is live zoomed-out preview of sourcecode.

maximize-panes

(command-pane) Toggle (no default windows key) Maximize Panes: Maximize

term2

Embed a terminal in your a tab in your atom session. This is a full terminal session, you can run vim, git, top, rogue etc.