Hi all, I hacked together a little program that attempts to explain sequences of vim commands. It's not nearly fully featured (lots of stuff I haven't bothered to implement yet, such as ranges). It parses the vim index.txt file (well, a slightly modified one) to obtain a list of commands.
It uses a lot of regular expressions, so it will probably fall apart if you even look at it funny. Also, I haven't really tested it a lot. But it still might prove useful for beginners who don't need to deal with very complex commands. In case anyone is interested, have a go and report bugs. I just might end up implementing more functionality. Git repository at: https://github.com/pafcu/Vimsplain I ran into problems with the ambiguous use of "^". Usually CTRL is replaced by ^ but I can't use that because there are many interpretations of e.g. ^V: ^ cursor to the first CHAR of the line V start linewise Visual mode or: ^V start blockwise Visual mode I solved this by using § instead of ^ in control characters (e.g Esc is §[ instead of ^[). Does anyone have a better idea to solve the problem? -- Stefan Parviainen -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
