Skip to content
Browse files

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

  • Loading branch information...
1 parent 2c36323 commit 04f3736572b81288b42f75e6c5c77befbc1f8062 @vbali vbali committed Oct 25, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 SublimeRailsNav.py
View
2 SublimeRailsNav.py
@@ -82,6 +82,8 @@ def construct_glob_paths(self, dirs):
def file_selected(self, selected_index):
if selected_index != -1:
+ if self.window.num_groups() > 1:
+ self.window.focus_group((self.window.active_group() + 1) % self.window.num_groups())
self.window.open_file(self.files[selected_index])
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.