One more thing we might consider mapping when looking at the vim example is variables.
Should be trivial since a Prolog variable must begin with a capital letter or an underscore [^1].
[^1]: https://www.let.rug.nl/bos/lpn//lpnpage.php?pagetype=html&pageid=lpn-htm...