AtomNotes

来源:互联网 发布:php 生成pdf文件 编辑:程序博客网 时间:2024/06/11 05:06

Environment: OS X 10.10.4
Atom download: https://atom.io/ , the size of Atom is about 80M+.


Packages

Menu Bar: Atom–>Install Shell Commands.
Then you can use such as ‘apm’ etc. commands in Mac OS X’s Terminal.

Menu Bar: Atom–>Preferences–>Packages/Install.
But maybe it has some problem when we install packages across upper method. Here is my problem:
apm problem

Here is my solution:
Download and install node.js: https://nodejs.org/en/
Using the installation of ‘activate-power-mode’ package as an example. Open the Terminal and entry the following commands:

cd ~/.atom/packagesgit clone https://github.com/JoelBesada/activate-power-modelscd activate-power-mode/npm install

You can get the link after ‘git clone’ by searching ‘activate-power-mode github’ in Google.
Wait a seconds. Then Click Menu Bar: View–>Developer–>Reload Window.
The Toggle of the activate-power-mode is ‘Ctrl + Alt + O’. Here is the author’s effect:
activate-power-mode effect

Menu Bar: Packages. You can check the packages you have install and their common shortcut keys.


Markdown

Atom has the Markdown Preview package, so it can edit and preview Markdown file directly. The shortcut key is ‘Ctrl + Shift + M’.

Install markdown-scroll-sync(Auto-scroll markdown-preview tab to match markdown source):

cd ~/.atom/packagesgit clone https://github.com/mark-hahn/markdown-scroll-synccd markdown-scroll-sync/npm install

0 0