All Projects → docunext → Closetag.vim

docunext / Closetag.vim

Functions and mappings to close open HTML/XML tags

Labels

Projects that are alternatives of or similar to Closetag.vim

Underscore.vim
Vim script utility library 💓 The sky is the limit!
Stars: ✭ 72 (-11.11%)
Mutual labels:  viml
Skybison
Vim plugin to expedite use of cmdline commands
Stars: ✭ 74 (-8.64%)
Mutual labels:  viml
Rocannon
Vim for Ansible playbooks: omni-completion, abbreviations, syntax, folding, K-docs, and colorscheme
Stars: ✭ 80 (-1.23%)
Mutual labels:  viml
Vim Neatstatus
Neat Status Line Plugin for Vim
Stars: ✭ 72 (-11.11%)
Mutual labels:  viml
L9
Vim-script library
Stars: ✭ 73 (-9.88%)
Mutual labels:  viml
Cmake.vim
🔨 CMake functionality within Vim.
Stars: ✭ 76 (-6.17%)
Mutual labels:  viml
Javascript Indent
Javascript indenter (HTML indent is included)
Stars: ✭ 71 (-12.35%)
Mutual labels:  viml
Vimtodo
Vim TODO manager
Stars: ✭ 80 (-1.23%)
Mutual labels:  viml
Vim Latex
Mirror of vim-latex as Sourceforge's git support blows chunks!
Stars: ✭ 73 (-9.88%)
Mutual labels:  viml
Vim Pomodoro
Vim plugin for the Pomodoro time management technique
Stars: ✭ 79 (-2.47%)
Mutual labels:  viml
Dotvim
DEFUNCT, *no longer used* ; My Vim setup, using vundle
Stars: ✭ 72 (-11.11%)
Mutual labels:  viml
Moonscript Vim
MoonScript support for vim
Stars: ✭ 73 (-9.88%)
Mutual labels:  viml
Conoline.vim
Highlights the line of the cursor only in the current window.
Stars: ✭ 79 (-2.47%)
Mutual labels:  viml
Rainbow
Rainbow Parentheses Improved
Stars: ✭ 72 (-11.11%)
Mutual labels:  viml
Vim Statline
Add useful informations to Vim statusline
Stars: ✭ 80 (-1.23%)
Mutual labels:  viml
Vim Git Branch Info
A Vim script to return info about the Git branches.
Stars: ✭ 71 (-12.35%)
Mutual labels:  viml
Intero.nvim
Haskell+Neovim lightning fast autocompletion and other IDE functionality
Stars: ✭ 76 (-6.17%)
Mutual labels:  viml
Vim Reload
Automatic reloading of Vim scripts ((file-type) plug-ins, auto-load/syntax/indent scripts, color schemes)
Stars: ✭ 80 (-1.23%)
Mutual labels:  viml
Xoria256.vim
Finely tuned soft gamma, 256 colors, dark background, gvim == vim
Stars: ✭ 80 (-1.23%)
Mutual labels:  viml
Vim Plugin Viewdoc
Vim plugin: flexible viewer for any documentation
Stars: ✭ 79 (-2.47%)
Mutual labels:  viml

This is a mirror of http://www.vim.org/scripts/script.php?script_id=13

This script eases redundant typing when writing html or xml files (even if you're very good with ctrl-p and ctrl-n :). Hitting ctrl-_ will initiate a search for the most recent open tag above that is not closed in the intervening space and then insert the matching close tag at the cursor. In normal mode, the close tag is inserted one character after cursor rather than at it, as if a<C-_> had been used. This allows putting close tags at the ends of lines while in normal mode, but disallows inserting them in the first column.

For HTML, a configurable list of tags are ignored in the matching process. By default, the following tags will not be matched and thus not closed automatically: Area, Base, Br, DD, DT, HR, Img, Input, LI, Link, Meta, P, and Param.

For XML, all tags must have a closing match or be terminated by />, as in . These empty element tags are ignored for matching.

Comments are not currently handled very well, so commenting out HTML in certain ways may cause a "tag mismatch" message and no completion. ie, having '' between the cursor and the most recent open tag above doesn't work. Well matched tags in comments don't cause a problem.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].