3 ms·
Maybe I'm not understanding, but it's pretty easy to edit the wiki from the command line in vim (I've used text editors for it before). https://fossil-scm.org/
by bachmeier 6y ago
Maybe I'm not understanding, but it's pretty easy to edit the wiki from the command line in vim (I've used text editors for it before).
https://fossil-scm.org/home/help?cmd=wiki https://fossil-scm.org/home/help?cmd=wiki
To edit a page, do an export and then a commit when you're done. It was easy enough to add this as a menu item in Emacs.
fossil wiki export foo.wiki foo.md
fossil wiki commit foo.wiki foo.md
- wyoung2 6y agoYou don't even need the temporary files: $ vim ...write, write, write... :w !fossil wiki create "The Foo Article" - :q! Later: $ vim :r !fossil wiki export "The Foo Article" - ...write, write, write some more... :w !fossil wiki commit "The Foo Article" - Wrapping all of that up into Vim macros would be a small matter for someone sufficiently interested. Also, someone wanting to edit wiki-like docs in a text editor rather than in the web UI is probably going to find Fossil's embedded docs feature more useful anyway: https://fossil-scm.org/home/doc/trunk/www/embeddeddoc.wiki https://fossil-scm.org/home/doc/trunk/www/embeddeddoc.wiki
- marmaduke 6y agoGood catch! I really did look for this when I tried to use it years back.