Configuring Vim on Mac OS X. Posted by Tim Sunday, 5 May 2013. This should paste the text with the best result. Once the.vimrc file is configured open a new terminal windows and open a file to test out the setup. The.vimrc example file is now hosted on github. Check out the article here. MacVim is a port of the text editor Vim to Mac OS X that is meant to look better and integrate more seamlessly with the Mac than the older Carbon port of Vim. MacVim supports multiple windows with tabbed editing and a host of other features such as: bindings to standard OS X keyboard shortcuts (⌘-Z, ⌘-V, ⌘-A, ⌘-G, etc.).
If I understand it correctly you generate the program from that file by removing all the non-code text, right?
This is very well documented , but not 'actually' literal programming. It's a losing battle over this definition but since you said actually I'll go for it one last time :p
In literal programming, the order of the explanation dictates the flow of text. Conversely, well documented source code follows the order of the program.
The literate programming paradigm, as conceived by Knuth, represents a move away from writing programs in the manner and order imposed by the computer, and instead enables programmers to develop programs in the order demanded by the logic and flow of their thoughts.[2] Literate programs are written as an uninterrupted exposition of logic in an ordinary human language, much like the text of an essay, in which macros are included to hide abstractions and traditional source code.
Literate programming in this specific case would include a big overview of the entire file somewhere with references to each section. These would then be pulled in and included at compile time.