dotfiles

My dotfiles for Arch Linux
git clone git@git.janispagel.de:dotfiles.git
Log | Files | Refs | README

commit d6c388cffd35f439aa851a91ecdac5a0297b6e45
parent 0ded86d9dc3aedae7d015d29340c1ca493bed131
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Fri, 11 Sep 2020 13:09:05 +0200

Add new snippets

Diffstat:
Avim/snippets/bibtex/skel_book.bib | 13+++++++++++++
Avim/snippets/latex/skel_frame.tex | 3+++
Mvim/vimrc | 5+++++
3 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/vim/snippets/bibtex/skel_book.bib b/vim/snippets/bibtex/skel_book.bib @@ -0,0 +1,13 @@ +@BOOK{, + address = {}, + author = {}, + doi = {}, + edition = {}, + editor = {}, + publisher = {}, + series = {}, + title = {}, + url = {}, + volume = {}, + year = {}, +} diff --git a/vim/snippets/latex/skel_frame.tex b/vim/snippets/latex/skel_frame.tex @@ -0,0 +1,3 @@ +\begin{frame}{} + +\end{frame} diff --git a/vim/vimrc b/vim/vimrc @@ -14,6 +14,9 @@ Plug 'wincent/command-t', { \ } Plug 'justinmk/vim-sneak' +" Sorting +Plug 'chiedo/vim-sort-blocks-by' + " Writing text Plug 'junegunn/goyo.vim' @@ -107,6 +110,7 @@ nnoremap <Leader>pyclass :-1read $HOME/.vim/snippets/python/skel_class.py<CR>wi nnoremap <Leader>item :-1read $HOME/.vim/snippets/latex/skel_itemize.tex<CR>1j$i nnoremap <Leader>enum :-1read $HOME/.vim/snippets/latex/skel_enumerate.tex<CR>1j$i nnoremap <Leader>fig :-1read $HOME/.vim/snippets/latex/skel_figure.tex<CR>1j$i +nnoremap <Leader>frame :-1read $HOME/.vim/snippets/latex/skel_frame.tex<CR>f{f{a nnoremap <Leader>outline :-1read $HOME/.vim/snippets/latex/skel_outline.tex<CR>1j$i " Markdown nnoremap <Leader>mdtab :-1read $HOME/.vim/snippets/markdown/skel_table.md<CR>2li @@ -115,6 +119,7 @@ nnoremap <Leader>mdlink :-1read $HOME/.vim/snippets/markdown/skel_link.md<CR>f[a nnoremap <Leader>mdblock :-1read $HOME/.vim/snippets/markdown/skel_codeblock.md<CR>$i nnoremap <Leader>mdmeta :-1read $HOME/.vim/snippets/markdown/skel_meta.md<CR>3j$"=strftime("%Y-%m-%d")<CR>Pgg01j$i " Bibtex +nnoremap <Leader>bibbook :-1read $HOME/.vim/snippets/bibtex/skel_book.bib<CR>f{a nnoremap <Leader>bibinp :-1read $HOME/.vim/snippets/bibtex/skel_inproceedings.bib<CR>f{a nnoremap <Leader>bibart :-1read $HOME/.vim/snippets/bibtex/skel_article.bib<CR>f{a " }}}