Last active
January 1, 2016 19:39
-
-
Save garmjs/8191537 to your computer and use it in GitHub Desktop.
Remap keys on sublime text 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| [ | |
| // hide toggle_side_bar | |
| { "keys": ["ctrl+b"], "command": "toggle_side_bar" }, | |
| { | |
| // Switch on layout (Window) 1 | |
| "keys": ["ctrl+1"], | |
| "command": "set_layout", | |
| "args": | |
| { | |
| "cols": [0.0, 1.0], | |
| "rows": [0.0, 1.0], | |
| "cells": [[0, 0, 1, 1]] | |
| } | |
| }, | |
| { | |
| // Split: Switch on two Layouts | |
| "keys": ["v", "S"], | |
| "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]] | |
| } | |
| }, | |
| // Focus on layout 1 | |
| { "keys": ["ctrl+h"], "command": "focus_group", "args": { "group": 0 } }, | |
| // Focus on layout 2 | |
| { "keys": ["ctrl+l"], "command": "focus_group", "args": { "group": 1 } }, | |
| // Move file on layout 1 ( for easy memorize think for " m = Move, r = left " ) | |
| { "keys": ["m", "L"], "command": "move_to_group", "args": { "group": 0 } }, | |
| // Move file on 2 ( for easy memorize think for "m = Move, r = right" ) | |
| { "keys": ["m", "R"], "command": "move_to_group", "args": { "group": 1 } }, | |
| // Switch on Vim Mode | |
| { "keys": ["j", "J"], "command": "exit_insert_mode", | |
| "context": | |
| [ | |
| { "key": "setting.command_mode", "operand": false }, | |
| { "key": "setting.is_widget", "operand": false } | |
| ] | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment