Skip to content

Commit

Permalink
Create a new pane if none exists
Browse files Browse the repository at this point in the history
  • Loading branch information
antstorm committed Jun 29, 2015
1 parent 701a0e0 commit aa1decb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions origami.py
Expand Up @@ -114,6 +114,8 @@ def travel_to_pane(self, direction):
cells = self.get_cells()
new_group_index = cells.index(adjacent_cell)
self.window.focus_group(new_group_index)
else:
self.create_pane(direction, True)

def carry_file_to_pane(self, direction):
view = self.window.active_view()
Expand Down

0 comments on commit aa1decb

Please sign in to comment.