diff --git a/.config/nvim/UltiSnips/tex.snippets b/.config/nvim/UltiSnips/tex.snippets index 45334ec..f459327 100644 --- a/.config/nvim/UltiSnips/tex.snippets +++ b/.config/nvim/UltiSnips/tex.snippets @@ -238,31 +238,16 @@ snippet ooo "\infty" iA endsnippet context "math()" -snippet hnn "hn" iA -h[n] +snippet nn "hn" iA +[n] endsnippet context "math()" -snippet htt "ht" iA -h(t) +snippet tt "ht" iA +(t) endsnippet context "math()" -snippet xnn "xn" iA -x[n] -endsnippet - -context "math()" -snippet xtt "xt" iA -x(t) -endsnippet - -context "math()" -snippet ynn "yn" iA -y[n] -endsnippet - -context "math()" -snippet ytt "yt" iA -y(t) +snippet ss "hs" iA +(s) endsnippet diff --git a/.config/nvim/ftplugin/tex.vim b/.config/nvim/ftplugin/tex.vim index a04d3d1..723cf8e 100644 --- a/.config/nvim/ftplugin/tex.vim +++ b/.config/nvim/ftplugin/tex.vim @@ -27,3 +27,4 @@ let g:vimtex_syntax_conceal = { \ 'sections': 1, \ 'styles': 1, \} +set textwidth=80