Atom

From Bitpost wiki
Jump to: navigation, search

INSTALL

# Add package
curl -L https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list'
sudo apt-get update

# Install Atom or Atom Beta
sudo apt-get install atom # or atom-beta

CONFIGURE

  • git
git config --global core.editor "atom --wait"
  • turn off nasty "add trailing newline" 'feature'
# hit alt to pop menu > Edit > Preferences > +Install > search 'whitespace'
# turn off [ ] "Ensure Single Trailing Newline"