全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: vim-snipmate  ]

套件:vim-snipmate(0.87-7)

vim-snipmate 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 vim-snipmate

維護者:

外部的資源:

相似套件:

Vim script that implements some of TextMate's snippets features.

SnipMate.vim aims to be an unobtrusive, concise vim script that implements some of TextMate's snippets features in Vim. A snippet is a piece of often-typed text that you can insert into your document using a trigger word followed by a <tab>.

For instance, in a C file using the default installation of snipMate.vim, if you type "for<tab>" in insert mode, it will expand a typical for loop in C:

for (i = 0; i < count; i++) {

}

To go to the next item in the loop, simply <tab> over to it; if there is repeated code, such as the "i" variable in this example, you can simply start typing once it's highlighted and all the matches specified in the snippet will be updated.

snipMate.vim has the following features among others:

 - The syntax of snippets is very similar to TextMate's, allowing easy
   conversion.
 - The position of the snippet is kept transparently (i.e., it does not use
   marks/placeholders inserted into the buffer), allowing you to escape out
   of an incomplete snippet, something particularly useful in Vim.
 - Variables in snippets are updated as-you-type.
 - Snippets can have multiple matches.
 - Snippets can be out of order. For instance, in a do...while loop, the
   condition can be added before the code.

其他與 vim-snipmate 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 vim-snipmate

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 22。0 kB100。0 kB [檔案列表]