5
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【メモ】Atom

Last updated at Posted at 2016-08-24

ターミナル

作業ディレクトリに移動してatom .でエディタ起動

フォント

RictyDiminishedに設定
https://github.com/edihbrandon/RictyDiminished/blob/master/RictyDiminished-Regular.ttf

スニペット

Atom講座 スニペット登録

インデント設定

jsは半角スペース2, pythonは半角スペース4にしたかったので

.editorconfig
root = true

[*]
indent_style = tab
tab_width = 2
indent_size = 2
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.py]
tab_width = 4
indent_size = 4

[Makefile]
indent_style = tab

[*.js]
tab_width = 2

[{package.json,.travis.yml}]

参考
Atomでインデント設定に困ったらEditorConfigを使用する

ショートカット

画面分割

command + k + 分割方向の矢印

マルチカーソル

command + D
一部飛ばしたい場合は command + K
一つ前をキャンセルしたい場合は command + U

括弧

ctrl + M 対応する括弧やタグに移動
ctrl + command + M 対応範囲をハイライト

行を複製

command + shift + D

カーソルおく -> その1行を複製
複数行を選択 -> 複数行を複製

目的ファイルの検索

command + T + 目的ファイルの名前

マークダウンプレビュー

ctrl + shift + M

キーマップ

alt + shift + i : 自動インデント

大文字変換

command + k + u

パッケージ

とりあえず入れてみていい感じのもの

補完

emmet
tag
タグを閉じてくれる

autocompleteシリーズ
autocomplete-html
autocomplete-php
autocomplete-modules
autocomplete-python
autocomplete-paths

color-picker
pigments

整列、ハイライト

atom-beautify
alt + ctrl + B

file-icons
highlight-selected
atom-jade

git

git-plus
atom内でgitコマンドを打てる

merge-conflicts
mergeの可視化、解決


参考
ATOMおすすめパッケージ 2015年末版
Atomエディタの初期設定とオススメプラグイン
Atom講座スニペット登録
凄腕エンジニアが選んだAtom・Vim・Emacsの超便利プラグインと設定34選
ドットインストール Atom入門

5
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?