Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Open related file in the next group (if more than one)

  • Loading branch information...
commit 04f3736572b81288b42f75e6c5c77befbc1f8062 1 parent 2c36323
vbali vbali authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  SublimeRailsNav.py
2  SublimeRailsNav.py
@@ -82,6 +82,8 @@ def construct_glob_paths(self, dirs):
82 82
83 83 def file_selected(self, selected_index):
84 84 if selected_index != -1:
  85 + if self.window.num_groups() > 1:
  86 + self.window.focus_group((self.window.active_group() + 1) % self.window.num_groups())
85 87 self.window.open_file(self.files[selected_index])
86 88
87 89 def find_files(self, paths, file_pattern):

0 comments on commit 04f3736

Please sign in to comment.
Something went wrong with that request. Please try again.