Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
updated config files
Browse files Browse the repository at this point in the history
  • Loading branch information
yevagorbachev committed Aug 6, 2022
1 parent eba80d1 commit 6642aee
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion auxiliary-files/maketex/std-cmd.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
\documentclass{article}
\usepackage{siunitx, amsmath, amssymb, adjustbox, graphicx, float, hyperref}
\usepackage{siunitx, amsmath, amssymb, hyperref}
\usepackage{graphicx, float, subcaption, adjustbox}
\usepackage[utf8]{inputenc}
\usepackage[letterpaper, portrait, margin=1in]{geometry}
\usepackage[shortlabels]{enumitem}
Expand Down
4 changes: 2 additions & 2 deletions configs/.vim/UltiSnips/tex.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ endglobal

# [[[ ENVIRONMENTS

snippet '\\begin{(\w+\*?)}' "begin/end" r
\begin{`!p snip.rv = match.group(1)`}
snippet '\\begin{(\w+\*?)}(.*$)' "begin/end" r
\begin{`!p snip.rv = match.group(1)`}`!p snip.rv = match.group(2)`
$0
\end{`!p snip.rv = match.group(1)`}
endsnippet
Expand Down
5 changes: 5 additions & 0 deletions configs/.vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,9 @@ Plug 'jiangmiao/auto-pairs'
Plug 'lervag/vimtex'
let g:vimtex_compiler_enabled=0

Plug 'vim-pandoc/vim-rmarkdown'

call plug#end()

au BufNewFile,BufRead *.cls set filetype=tex
au BufNewFile,BufRead *.sty set filetype=tex

0 comments on commit 6642aee

Please sign in to comment.