I do all my programming in gnu nano then compile with FPC so this "with" just stoke me as a shortcut eliminating the repetetiveness of ....
As Jamie and Handoko suggest, the Lazarus IDE will do that, and a great deal more for you, while Lazarus may seem to be all about making GUI apps, its also very comfortable in making 'pure FPC' ones. You will find you get syntax highlighting, on line help and code completion.
For example, if you wrote your declaration of "procedure Etc;", with the cursor on Etc, Ctrl-shift-C will have the IDE create the procedure template for you, down in the implementation section. That save a lot more typing that your suggested model.
Join us, do not be afraid, you will be assimilated ....Davo