some groff templates for vim stuff
This commit is contained in:
parent
60ad87699f
commit
e19381c049
13
.vim/templates/chapter.mom
Normal file
13
.vim/templates/chapter.mom
Normal file
|
@ -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
|
||||||
|
|
18
.vim/templates/english.mom
Normal file
18
.vim/templates/english.mom
Normal file
|
@ -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
|
||||||
|
|
9
.vim/templates/general.mom
Normal file
9
.vim/templates/general.mom
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
.PRINTSTYLE TYPESET
|
||||||
|
.DOCTYPE DEFAULT
|
||||||
|
.FOOTNOTE_MARKER_STYLE NUMBER
|
||||||
|
.TITLE ""
|
||||||
|
.AUTHOR "Owen Bell"
|
||||||
|
.ATTRIBUTE_STRING ""
|
||||||
|
.START
|
||||||
|
.PP
|
||||||
|
|
25
.vim/templates/man.1
Normal file
25
.vim/templates/man.1
Normal file
|
@ -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
|
|
@ -1,4 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
<!-- if you want manpages styled like this one,
|
||||||
|
check out https://causal.agency
|
||||||
|
-->
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--ansi0: #161510;
|
--ansi0: #161510;
|
||||||
|
|
2
.vim/templates/md.html
Normal file
2
.vim/templates/md.html
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
<link rel="stylesheet" href="///home/ltc/Documents/assets/mvp.css">
|
||||||
|
|
19
.vim/templates/recipe.mom
Normal file
19
.vim/templates/recipe.mom
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
.PRINTSTYLE TYPESET
|
||||||
|
.DOCTYPE DEFAULT
|
||||||
|
.FAMILY H
|
||||||
|
.FOOTNOTE_MARKER_STYLE NUMBER
|
||||||
|
.TITLE ""
|
||||||
|
.ATTRIBUTE_STRING ""
|
||||||
|
.START
|
||||||
|
.PP
|
||||||
|
.HEADING 1 "Ingredients"
|
||||||
|
.LIST BULLET
|
||||||
|
.ITEM
|
||||||
|
|
||||||
|
.LIST OFF
|
||||||
|
|
||||||
|
.HEADING 1 "Directions"
|
||||||
|
.LIST DIGIT
|
||||||
|
.ITEM
|
||||||
|
|
||||||
|
.LIST OFF
|
|
@ -8,6 +8,7 @@ command Tmomg :r ~/.vim/templates/general.mom
|
||||||
command Tmomr :r ~/.vim/templates/recipe.mom
|
command Tmomr :r ~/.vim/templates/recipe.mom
|
||||||
command Tmome :r ~/.vim/templates/english.mom
|
command Tmome :r ~/.vim/templates/english.mom
|
||||||
command Tmd :r ~/.vim/templates/md.html
|
command Tmd :r ~/.vim/templates/md.html
|
||||||
|
command Tman :r ~/.vim/templates/man.1
|
||||||
command Tmh :r ~/.vim/templates/man.html
|
command Tmh :r ~/.vim/templates/man.html
|
||||||
|
|
||||||
" run groff+refer on file
|
" run groff+refer on file
|
||||||
|
|
Loading…
Reference in a new issue