##// END OF EJS Templates
%mb completer now only completes on the first argument (and uses file name completer for the rest)
Ville M. Vainio -
Show More
@@ -421,6 +421,11 b' def mb_f(self, arg):'
421
421
422 def mb_completer(self,event):
422 def mb_completer(self,event):
423 """ Custom completer for minibuffer """
423 """ Custom completer for minibuffer """
424 cmd_param = event.line.split()
425 if event.line.endswith(' '):
426 cmd_param.append('')
427 if len(cmd_param) > 2:
428 return ip.IP.Completer.file_matches(event.symbol)
424 cmds = c.commandsDict.keys()
429 cmds = c.commandsDict.keys()
425 cmds.sort()
430 cmds.sort()
426 return cmds
431 return cmds
General Comments 0
You need to be logged in to leave comments. Login now