This commit is contained in:
Kovid Goyal 2016-12-08 10:06:13 +05:30
parent 408bc931cc
commit b8d206cc67
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ map ctrl+shift+4 fourth_window
map ctrl+shift+5 fifth_window
map ctrl+shift+6 sixth_window
map ctrl+shift+7 seventh_window
map ctrl+shift+8 eight_window
map ctrl+shift+8 eighth_window
map ctrl+shift+9 ninth_window
map ctrl+shift+0 tenth_window

View File

@ -37,7 +37,7 @@ class Tab:
l = session_tab.layout
queue_action(self.startup, session_tab)
self.current_layout = all_layouts[l](opts, self.borders.border_width, self.windows)
for i, which in enumerate('first second third fourth fifth sixth seventh eight ninth tenth'.split()):
for i, which in enumerate('first second third fourth fifth sixth seventh eighth ninth tenth'.split()):
setattr(self, which + '_window', partial(self.nth_window, num=i))
def startup(self, session_tab):