dotfiles/nvim/own-snippets/nroff.snippets
foo-dogsquared e5222304a1 Create a custom manager and migrate to nvim
I've migrated to Neovim because of one thing... Luke Smith-senpai...

Ever since I've seen him typed 'nvim' in his recent videos, I was devastated. All of those hours that my little heart and soul poured into creating a 130-line vimrc to configure Vim to its absolute in the way I wanted to use was gone. All of those 7 days and a few minutes every now and then, are crushed.

It is truly a betrayal to see it use a modernized version of a relic of the past. I first thought, "How dare he?". I was not able to sleep well the following days. It was heart-wrenching.

Out of spite, I've tried to. I've nothing left and you know there is a saying 'a weeb with nothing got nothing to lose'. All it took was to rename certain files, reinstall the plugin manager and its plugins, a grand total of 5 minutes. My heart skipped a beat.

It was like being a birb with broken wings trying to fly and eventually didn't left off until its talon is in the ground. And the ground is Neovim. Now I love Neovim more than ever... Thank you Luke Smith Unaboomer-kun-senpai. It was truly a wonderful experience.
2020-03-29 20:23:44 +08:00

75 lines
874 B
Plaintext

# Text formatting
snippet p "Paragraph" bi
.PP
$0
endsnippet
snippet bf "Boldface" iw
.ft B
$1
.ft
$0
endsnippet
snippet it "Italic" iw
.ft I
$1
.ft
$0
endsnippet
snippet bfit "Boldface italic" iw
.ft BI
$1
.ft
$0
endsnippet
# Document structures
snippet title "Title header" bi
.TH ${1:TITLE} ${2:SECTION} ${3:EXTRA}
$0
endsnippet
snippet sect "Sectioned (unnumbered) headers" bi
.SH ${1:SECTION NAME}
$0
endsnippet
snippet ss "Subsectioned (unnumbered) headers" bi
.SS ${1:SUBSECTION NAME}
$0
endsnippet
snippet ol "Ordered list setup" bi
.nr step 1 1
.IP \n+[step]
$1
$0
endsnippet
snippet oli "Ordered list item" bi
.IP \n+[step]
$1
$0
endsnippet
snippet uli "Unordered list item" bi
.IP \[bu]
$1
$0
endsnippet
snippet dl "Definition-style list item" bi
.IP ${1:WORD}
${2:DESCRIPTION}
$0
endsnippet
snippet eq "Equation" bi
.EQ
${1:EQUATION}
.EN
endsnippet