From e19381c049e95da081906a9e52e1ed71b37c66f3 Mon Sep 17 00:00:00 2001 From: Xfnw knuu Date: Wed, 13 Jan 2021 14:21:18 -0500 Subject: [PATCH] some groff templates for vim stuff --- .vim/templates/chapter.mom | 13 +++++++++++++ .vim/templates/english.mom | 18 ++++++++++++++++++ .vim/templates/general.mom | 9 +++++++++ .vim/templates/man.1 | 25 +++++++++++++++++++++++++ .vim/templates/man.html | 3 +++ .vim/templates/md.html | 2 ++ .vim/templates/recipe.mom | 19 +++++++++++++++++++ .vim/vimrc | 1 + 8 files changed, 90 insertions(+) create mode 100644 .vim/templates/chapter.mom create mode 100644 .vim/templates/english.mom create mode 100644 .vim/templates/general.mom create mode 100644 .vim/templates/man.1 create mode 100644 .vim/templates/md.html create mode 100644 .vim/templates/recipe.mom diff --git a/.vim/templates/chapter.mom b/.vim/templates/chapter.mom new file mode 100644 index 0000000..bdcbb26 --- /dev/null +++ b/.vim/templates/chapter.mom @@ -0,0 +1,13 @@ +.PRINTSTYLE TYPESET +.DOCTYPE CHAPTER +.FOOTNOTE_MARKER_STYLE NUMBER +.TITLE "" +.AUTHOR "Owen Bell" +.ATTRIBUTE_STRING "" +.COVER TITLE AUTHOR +.CHAPTER 1 +.START +.PP + +.COLLATE + diff --git a/.vim/templates/english.mom b/.vim/templates/english.mom new file mode 100644 index 0000000..af2d026 --- /dev/null +++ b/.vim/templates/english.mom @@ -0,0 +1,18 @@ +.PRINTSTYLE TYPESET +.DOCTYPE DEFAULT +.FAMILY T +.FOOTNOTE_MARKER_STYLE NUMBER +.LS 1.5m +.PARA_INDENT 2m +.INDENT_FIRST_PARAS +.START + +.BR +// +.BR + +.BR + +.HEADING 1 "" +.PP + diff --git a/.vim/templates/general.mom b/.vim/templates/general.mom new file mode 100644 index 0000000..37672a9 --- /dev/null +++ b/.vim/templates/general.mom @@ -0,0 +1,9 @@ +.PRINTSTYLE TYPESET +.DOCTYPE DEFAULT +.FOOTNOTE_MARKER_STYLE NUMBER +.TITLE "" +.AUTHOR "Owen Bell" +.ATTRIBUTE_STRING "" +.START +.PP + diff --git a/.vim/templates/man.1 b/.vim/templates/man.1 new file mode 100644 index 0000000..a0b6e28 --- /dev/null +++ b/.vim/templates/man.1 @@ -0,0 +1,25 @@ +.Dd +.Dt +.Os +. +.Sh NAME +.Nm +.Nd +. +.Sh SYNOPSIS +.Nm +. +.Sh DESCRIPTION + +. +.Sh OPTIONS +.Bl -tag -width Ds + +.El +. +.Sh BUGS +please report any bugs found to +.Lk +. +.Sh AUTHORS +.An xfnw Aq Mt xfnw@riseup.net diff --git a/.vim/templates/man.html b/.vim/templates/man.html index 268cb10..be9d45f 100644 --- a/.vim/templates/man.html +++ b/.vim/templates/man.html @@ -1,4 +1,7 @@ +