Atomキーバインドチートシート
http://qiita.com/clngn/items/c04d827537cb51f72044
Atomを使う中でカスタマイズした項目などメモ。
随時追記していきます。
ファイル検索でignoreのファイルもヒットするようにする
Settings -> Core Settings の
「Exclude VCS Ignored Paths」をオフにする
ignore指定されているファイルもtree viewで表示する
Settings -> packagesで「tree-view」を検索
tree-viewパッケージ設定の項目に「Hide VCS Ignored Files」という項目があるのでこれをオフにする
ファイル保存時に空白トリム処理をするデフォルト動作をオフにする
Settings -> packagesで「whitespace」を検索
whitespaceパッケージの「Remove Trailing Whitespace」をオフにする
タブが開き過ぎないように
プレビュータブを有効化する。
Packagets -> Tabs -> Settings -> Use Preview Tabs
これをONに。
ペイン移動のショートカットを変更
cmd-[]に割り当てた
keymap.csonに以下を記述
'atom-workspace atom-text-editor:not([mini])':
'cmd-]': 'window:focus-next-pane'
'cmd-[': 'window:focus-previous-pane'
cmd-left(right)で単語単位カーソル移動ができるようキー入れ替え
cmd-right <-> alt-right
shift-cmd-right <-> alt-shift-right
cmd-left <-> alt-left
shift-cmd-left <-> alt-shift-left
'atom-text-editor':
'cmd-right': 'editor:move-to-end-of-word'
'alt-right': 'editor:move-to-end-of-screen-line'
'shift-cmd-right': 'editor:select-to-end-of-word'
'alt-shift-right': 'editor:select-to-end-of-line'
'cmd-left': 'editor:move-to-beginning-of-word'
'alt-left': 'editor:move-to-first-character-of-line'
'shift-cmd-left': 'editor:select-to-beginning-of-word'
'alt-shift-left': 'editor:select-to-first-character-of-line'
gitの変更行を見やすくする
デフォルトで入っているgit-diffパッケージのsetting中の「Show Icons In Editor Gutter」 をオンにする
言語ごとにタブのwidthを切り替え
デフォルト...2
php...4 (language-phpパッケージのSettingsで指定)
単語選択に$等の記号が含まれないようにする
以下をconfig.csonに追加
".source.php":
editor:
nonWordCharacters: '/\\()"\':,.;<>~!@#%^&*|+=[]{}`?-$'
インストールしたパッケージ
php-twig
atom-typescript
language-babel
language-scala
terminial-plus
linter
hyperclick
Ensime
docblockr <- 神