Skip to content

Instantly share code, notes, and snippets.

@kijtra kijtra/toolbar.cson
Last active Aug 29, 2015

Embed
What would you like to do?
My Atom flex-tool-bar setting (2015-06) ※JSONからCSONに変更
[
# project-managerプラグインの起動
{
type: "button"
icon: "repo"
callback: "project-manager:toggle"
tooltip: "Open Project"
style: {
color: "cyan"
}
}
# atom-terminalプラグインの起動(いま開いてるファイルのディレクトリ)
{
type: "button"
icon: "terminal"
callback: "atom-terminal:open-project-root"
tooltip: "Open Terminal Here"
}
# アプリケーションの起動(ここではHeidiSQL)
{
type: "url"
icon: "database"
"url": "file://C:\\Program files\\HeidiSQL\\heidisql.exe"
tooltip: "Open HeidiSQL"
}
# git-controlプラグインの起動
{
type: "button"
icon: "circuit-board"
callback: "git-control:toggle"
tooltip: "Git Control"
}
# remote-ftpプラグインのパネル開閉
{
type: "button"
icon: "cloud-upload"
callback: "remote-ftp:toggle"
tooltip: "Remote FTP"
}
# 区切り線
{
type: "spacer"
}
# markdown-previewプラグインのトグル(Markdownファイルでのみ表示)
{
type: "button"
icon: "markdown"
callback: "markdown-preview:toggle"
tooltip: "Markdown Preview"
hide: "!Markdown"
}
# タブをスペースに変換するコマンドの実行
{
type: "button"
icon: "indent"
callback: "whitespace:convert-tabs-to-spaces"
tooltip: "Convert Tabs to Spaces"
iconset: "fa"
mode: "atom-workspace"
}
# atom-beautifyプラグインの実行
{
type: "button"
icon: "code"
callback: "atom-beautify:beautify-editor"
tooltip: "Atom Beautify"
iconset: "fa"
mode: "atom-text-editor"
}
# 区切り線
{
type: "spacer"
}
# flex-tool-barプラグインの設定ファイルを開く
# 設定で表示できるけど、ギアアイコンは他で使いそうだったので別のアイコンにするため。
{
type: "button"
icon: "ellipsis"
callback: "flex-tool-bar:edit-config-file"
tooltip: "Edit ToolBar Button"
style: {
color: "#555555"
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.