How to create short snippets in Vim?

前端 未结 6 1879
无人共我
无人共我 2020-12-08 14:11

I have recently started using Vim as my text editor and am currently working on my own customizations.

I suppose keyboard mappings can do pretty much anything, but f

6条回答
  •  失恋的感觉
    2020-12-08 14:56

    Snipmate - like texmate :) http://www.vim.org/scripts/script.php?script_id=2540

    video: http://vimeo.com/3535418

    snippet def 
         """ ${1:docstring} """
         def ${2:name}:
             return ${3:value}
    

提交回复
热议问题