Atom (text editor): Difference between revisions

From David's Wiki
 
Line 4: Line 4:
[https://flight-manual.atom.io/getting-started/sections/installing-atom/ Reference]<br>
[https://flight-manual.atom.io/getting-started/sections/installing-atom/ Reference]<br>
====Ubuntu====
====Ubuntu====
*Make sure to add the repo to get updates
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
wget -qO - 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 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
sudo apt-get update
sudo apt install atom
</syntaxhighlight>
</syntaxhighlight>



Latest revision as of 08:13, 17 July 2021

Atom

Getting Started

Installation

Reference

Ubuntu

wget -qO - 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
sudo apt install atom

Languages

Latex

apm install latex language-latex pdf-view
  • latex - for compiling latex (requires TeX Live on the system)
  • language-latex - for latex syntax highlighting
  • pdf-view - for viewing the compiled PDFs

Julia

JavaScript

apm install linter linter-jshint

Keybindings

You can create custom keybindings by editing the keymap.cson file.
This can be found at C:\Users\[username]\.atom\keymap.cson

My Keybindings

Useful Packages

atom-ternjs

Provides documentation and autocomplete functionality for JavaScript (ES5+)