RonnieSan
1/29/2017 - 7:33 PM

Sublime Key Bindings

Sublime Key Bindings

[
	{
		"keys": ["f1"],
		"command": "dired",
		"args": {
			"immediate": true,
			"single_pane": true,
			"other_group": "right",
			"project": true
		}
	},
	{
		"keys": ["super+shift+r"],
		"command": "refresh_folder_list"
	},
	{
		"keys": ["super+ctrl+a"],
		"command": "alignment"
	},
	{
		"keys": ["ctrl+s"],
		"command": "show_overlay",
		"args": {
			"overlay": "command_palette",
			"text": "Snippet: "
		}
	},
	{
		"keys": ["ctrl+space"],
		"command": "insert_snippet",
		"args": {
			"contents": "=\"${1:${SELECTION}}\""
		}
	},
	{
		"keys": ["ctrl+/"],
		"command": "insert_snippet",
		"args": {
			"contents": "<?php ${1:${SELECTION}} ?>"
		}
	},
	{
		"keys": ["ctrl+shift+/"],
		"command": "insert_snippet",
		"args": {
			"contents": "<?=${1:${SELECTION}}?>"
		}
	},
	{
		"keys": ["ctrl+enter"],
		"command": "insert_snippet",
		"args": {
			"contents": "<br />"
		}
	},
	{
		"keys": ["ctrl+shift+'"],
		"command": "insert_snippet",
		"args": {
			"contents": "&quot;"
		}
	},
	{
		"keys": ["super+shift+m"],
		"command": "markdown_preview",
		"args": {
			"target":"browser",
			"parser":"github"
		}
	},
	{
		"keys": ["super+e"],
		"command": "sublimelinter_goto_error",
		"args": {
			"direction": "next"
		}
	},
	{
		"keys": ["tab"], 
		"command": "expand_abbreviation_by_tab", 
		"context": [
			{
				"operand": "source.js, meta.group.braces.round.js, text.html", 
				"operator": "equal",
				"match_all": true,
				"key": "selector"
			}, 
			{
				"match_all": true, 
				"key": "selection_empty"
			},
			{
				"operator": "equal", 
				"operand": false, 
				"match_all": true, 
				"key": "has_next_field"
			}, 
			{
				"operand": false, 
				"operator": "equal", 
				"match_all": true, 
				"key": "auto_complete_visible"
			}, 
			{
				"match_all": true, 
				"key": "is_abbreviation"
			}
		]
	}
]