Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Python Vim script
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
XPath search (and incidental XML validation) plugin for vim. When editing an XML file, you can use the :XPathSearchPrompt command to enter XPath search mode. Begin typing your xpath, and press TAB for context-sensitive xpath completion. A new results window will pop up beneath the current window, with results matching your XPath, or if the XML file is not valid, the position of the validation error. Hitting enter jumps to the results window, and then hitting enter on one of the results jumps to the line in your XML file that matched (or the position of the error). Requires: -Vim with python support -python lxml library installed (ideally 2.7 or higher) To install: -Place all files into your vimXX or .vim directory -Load the vimdoc with :helptags <path-to-your-vim-dir>/doc Alternatively: -Install as a bundle with the excellent pathogen plugin