• 请不要在回答技术问题时复制粘贴 AI 生成的内容
yaotian
V2EX  ›  程序员

寻找一个vim插件

  •  
  •   yaotian · Jun 10, 2013 · 3482 views
    This topic created in 4797 days ago, the information mentioned may be changed or developed.
    比如我编辑html, 一个快捷键,列出所有html相关的snipmate出来。

    原因是:里面的snipmate定义的内容太多了,不记得了,所以有个快捷键出来提示一下。
    6 replies    1970-01-01 08:00:00 +08:00
    codepiano
        1
    codepiano  
       Jun 10, 2013
    下面是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
       Jun 10, 2013
    @codepiano 是的,多谢。

    这个插件我很少用。看上去很强大呀。
    codepiano
        3
    codepiano  
       Jun 10, 2013
    @yaotian 这个插件目前也比较流行
    yaotian
        4
    yaotian  
    OP
       Jun 10, 2013
    @codepiano 奇怪的是: c-tab在mvim下有用,但在vim下无效。
    args
        5
    args  
       Jun 11, 2013
    @yaotian 终端不支持这种键组合
    yaotian
        6
    yaotian  
    OP
       Jun 11, 2013
    @args 啊? 我基本上都是在终端操作,有解决办法吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3694 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 04:20 · PVG 12:20 · LAX 21:20 · JFK 00:20
    ♥ Do have faith in what you're doing.