Auto close pairs and more
vim-scripts/PairTools
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a mirror of http://www.vim.org/scripts/script.php?script_id=3560 The PairTools plugin can be seen as a "bundle" of tools to handle various "pair" operations. It also offers a flexible way to set pairs and options per filetypes. Therefore, it is possible to have pairs and options set for editing C++ files while also editing XML files with other pairs and options inside the same window. The plugin is modular, i.e. related features are grouped inside a module, and other related features inside others groups. In the current version, there are three modules: pairclamp.vim, tagwrench.vim and jigsaw.vim. The PairClamp module works with single characters pairs such as (,). The TagWrench module works with angle brackets <,> and tags <tagname>. The Jigsaw module coordinates some key maps between PairClamp and TagWrench, such as when pressing backspace and calling the right hook function. The pairtools.vim file defines autocmds, mappings and options to make all the modules work. See details at: https://github.com/MartinLafreniere/vim-PairTools