示例#1
0
文件: api.py 项目: xbl3/vim-netranger
 def mapvimfn(self, key, fn):
     self.map(key, lambda: Vim.eval(f'function("{fn}")()'))
示例#2
0
文件: api.py 项目: xbl3/vim-netranger
 def RegisterHookerVimFn(self, hooker, fn):
     self.Hookers[hooker].append(
         lambda api: Vim.eval(f'function("{fn}")()'))