Atom: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
 
Line 8: Line 8:
  sudo apt-get install atom # or atom-beta
  sudo apt-get install atom # or atom-beta


=== CONFIGURE
=== CONFIGURE ===


* git  
* git  

Latest revision as of 13:30, 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"