Ejemplo n.º 1
0
Archivo: prompt.py Proyecto: tj90241/vx
 def next(self):
     if self.matching:
         if self.forwards:
             utils.repeat(partial(vx.move_right_window, self.attached_to), times=self.match_length)
         else:
             utils.repeat(partial(vx.move_left_window, self.attached_to), times=self.match_length)
             vx.move_left_window(self.attached_to)
Ejemplo n.º 2
0
 def next(self):
     if self.matching:
         if self.forwards:
             utils.repeat(partial(vx.move_right_window, self.attached_to),
                          times=self.match_length)
         else:
             utils.repeat(partial(vx.move_left_window, self.attached_to),
                          times=self.match_length)
             vx.move_left_window(self.attached_to)
Ejemplo n.º 3
0
def left(window=None):
    vx.move_left_window(window if window else windows.focused)
Ejemplo n.º 4
0
def left(window=None):
    vx.move_left_window(window if window else windows.focused)