Skip to content

Commit

Permalink
feat(core): add resize_pane feature from Origami (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
BamBalaam authored and dvcrn committed Dec 14, 2017
1 parent 4e02339 commit a84385d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions layers/core/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ class Layer():
{"keys": ["8"], "command": "focus_group", "description": "focus window 8", "args": {"group": 7}},
{"keys": ["9"], "command": "focus_group", "description": "focus window 9", "args": {"group": 8}},

# Panel resize
{"keys": ["r"], "category": "resize"},
{"keys": ["r", "c"], "command": "resize_pane", "description": "column ", "args": {"orientation": "cols"}},
{"keys": ["r", "r"], "command": "resize_pane", "description": "row ", "args": {"orientation": "rows"}},


# ----- Project commands
{"keys": ["p"], "category": "project"},
Expand Down

0 comments on commit a84385d

Please sign in to comment.