Atom: Difference between revisions

From Bitpost wiki
(Created page with "# 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 m...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
# Add package
=== INSTALL ===
curl -L https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
# Add package
sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list'
curl -L https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
sudo apt-get update
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


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


git config --global core.editor "atom"
* 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"

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"