[ { "keys": ["super+shift+k"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, { "keys": ["alt+shift+1"], "command": "set_layout", "args": { "cols": [0.0, 1.0], "rows": [0.0, 1.0], "cells": [[0, 0, 1, 1]] } }, { "keys": ["alt+shift+2"], "command": "set_layout", "args": { "cols": [0.0, 0.5, 1.0], "rows": [0.0, 1.0], "cells": [[0, 0, 1, 1], [1, 0, 2, 1]] } }, { "keys": ["alt+shift+3"], "command": "set_layout", "args": { "cols": [0.0, 0.5, 1.0], "rows": [0.0, 0.8, 1.0], "cells": [[0, 0, 1, 1], [1, 0, 2, 1], [0, 1, 2, 2]] } }, { "keys": ["home"], "command": "move_to", "args": {"to": "bol"} }, { "keys": ["end"], "command": "move_to", "args": {"to": "eol"} }, { "keys": ["option+left"], "command": "move_to", "args": {"to": "bol"} }, // Home { "keys": ["option+right"], "command": "move_to", "args": {"to": "eol"} }, // End { "keys": ["super+left"], "command": "move", "args": {"by": "subwords", "forward": false} }, { "keys": ["super+right"], "command": "move", "args": {"by": "subword_ends", "forward": true} }, { "keys": ["super+shift+left"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} }, { "keys": ["super+shift+right"], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} }, // Line swapping fixed for modifier keys { "keys": ["super+shift+up"], "command": "swap_line_up" }, { "keys": ["super+shift+down"], "command": "swap_line_down" }, { "keys": ["super+shift+option+d"], "command": "clone_file"}, // Change word deletion to ctrl and super deletion to full line when mapped in osx modifier keys { "keys": ["super+backspace"], "command": "delete_word", "args": { "forward": false, "sub_words": true } }, { "keys": ["ctrl+backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard BOL.sublime-macro"} }, // TestRSpec plugin // test current line { "keys": ["shift+option+r"], "command": "test_current_line", "context": [ { "key": "selector", "operator": "equal", "operand": "source.ruby, source.rspec" } ] }, // test current file { "keys": ["shift+option+t"], "command": "test_current_file", "context": [ { "key": "selector", "operator": "equal", "operand": "source.ruby, source.rspec" } ] }, // run last spec { "keys": ["shift+ctrl+super+e"], "command": "run_last_spec" }, ]