コード例 #1
0
ファイル: xsupport.py プロジェクト: simianhacker/Vintageous
 def run(self, key=None):
     state = State(self.window.active_view())
     state.motion = cmd_defs[state.mode][cmds.QUESTION_MARK_IMPL]
     state.last_buffer_search = state.user_input or state.last_buffer_search
     # XXX: Is this right?
     if state.input_parsers:
         new_parsers = state.input_parsers
         new_parsers.pop()
         state.input_parsers = new_parsers
コード例 #2
0
ファイル: xsupport.py プロジェクト: scoates/Vintageous
 def run(self, key=None):
     state = State(self.window.active_view())
     state.motion = cmd_defs[state.mode][cmds.QUESTION_MARK_IMPL]
     state.last_buffer_search = state.user_input or state.last_buffer_search
     # XXX: Is this right?
     if state.input_parsers:
         new_parsers = state.input_parsers
         new_parsers.pop()
         state.input_parsers = new_parsers
コード例 #3
0
ファイル: xsupport.py プロジェクト: xlinkerz/Vintageous
 def run(self, key=None):
     state = State(self.window.active_view())
     state.motion = cmd_defs.ViSearchBackwardImpl()
     state.last_buffer_search = state.motion._inp or state.last_buffer_search
コード例 #4
0
ファイル: xsupport.py プロジェクト: alex-carr/Vintageous
 def run(self, key=None):
     state = State(self.window.active_view())
     state.motion = cmd_defs.ViSearchBackwardImpl()
     state.last_buffer_search = (state.motion._inp
                                 or state.last_buffer_search)