V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
yaotian
V2EX  ›  程序员

寻找一个vim插件

  •  
  •   yaotian · 2013-06-10 20:08:21 +08:00 · 2867 次点击
    这是一个创建于 3966 天前的主题,其中的信息可能已经有所发展或是发生改变。
    比如我编辑html, 一个快捷键,列出所有html相关的snipmate出来。

    原因是:里面的snipmate定义的内容太多了,不记得了,所以有个快捷键出来提示一下。
    6 条回复    1970-01-01 08:00:00 +08:00
    codepiano
        1
    codepiano  
       2013-06-10 20:20:26 +08:00
    下面是utlisnips的文档,<c-tab>是你想要的效果吗?



    3.2 Triggers *UltiSnips-triggers*
    ------------

    You can define the keys used to trigger UltiSnips actions by setting global
    variables. Variables define the keys used to expand a snippet, jump forward
    and jump backwards within a snippet, and list all available snippets in the
    current expand context. The variables with their default values are: >
    g:UltiSnipsExpandTrigger <tab>
    g:UltiSnipsListSnippets <c-tab>
    g:UltiSnipsJumpForwardTrigger <c-j>
    g:UltiSnipsJumpBackwardTrigger <c-k>
    yaotian
        2
    yaotian  
    OP
       2013-06-10 20:35:49 +08:00
    @codepiano 是的,多谢。

    这个插件我很少用。看上去很强大呀。
    codepiano
        3
    codepiano  
       2013-06-10 22:08:22 +08:00
    @yaotian 这个插件目前也比较流行
    yaotian
        4
    yaotian  
    OP
       2013-06-10 22:17:52 +08:00
    @codepiano 奇怪的是: c-tab在mvim下有用,但在vim下无效。
    args
        5
    args  
       2013-06-11 00:19:31 +08:00
    @yaotian 终端不支持这种键组合
    yaotian
        6
    yaotian  
    OP
       2013-06-11 09:53:06 +08:00
    @args 啊? 我基本上都是在终端操作,有解决办法吗?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2981 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 03:19 · PVG 11:19 · LAX 20:19 · JFK 23:19
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.