Atom: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 1: Line 1:
=== INSTALL ===
  # Add package
  # Add package
  curl -L https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
  curl -L https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
Line 6: Line 7:
  # Install Atom or Atom Beta
  # Install Atom or Atom Beta
  sudo apt-get install atom # or atom-beta
  sudo apt-get install atom # or atom-beta
 
=== CONFIGURE
 
* git
  git config --global core.editor "atom --wait"
  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"

Revision as of 13:29, 17 April 2018

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"