Compare commits
No commits in common. "db1c355282e410eaf5823a6e4c67d04e3d3e1450" and "024565d0c2fa2f635010b722b66230160e24cb74" have entirely different histories.
db1c355282
...
024565d0c2
@ -52,8 +52,8 @@ au BufEnter *.c,*.cpp,*.h,*.hpp packadd termdebug
|
||||
|
||||
tnoremap <silent> <esc> <c-\><c-n><c-\><c-n>
|
||||
|
||||
nnoremap <silent> <f3> :execute "Termdebug" $HOME .. "/.cache/termdebug.out"<cr>
|
||||
nnoremap <silent> <f4> :!g++ -g %:p -o ~/.cache/termdebug.out<cr>
|
||||
nnoremap <silent> <f3> :Termdebug a.out<cr>
|
||||
nnoremap <silent> <f4> :!g++ -g %:p<cr>
|
||||
nnoremap <silent> <f5> :Run<cr>
|
||||
nnoremap <silent> <f6> :Stop<cr>
|
||||
nnoremap <silent> <f8> :Clear<cr>
|
||||
@ -96,9 +96,6 @@ let g:vimtex_compiler_latexmk = {
|
||||
\ ],
|
||||
\}
|
||||
|
||||
" spellcheck
|
||||
au BufEnter *.tex set spell spelllang=en_ca
|
||||
|
||||
" Autowrite in tex files
|
||||
" au TextChanged,TextChangedI *.tex silent write
|
||||
|
||||
|
@ -91,10 +91,6 @@ snippet cent "center env" bi
|
||||
\end{center}
|
||||
endsnippet
|
||||
|
||||
snippet chap "chapter" bi
|
||||
\chapter{$1}
|
||||
endsnippet
|
||||
|
||||
snippet sec "section" wi
|
||||
\section{$1}
|
||||
endsnippet
|
||||
@ -239,10 +235,6 @@ $1
|
||||
\end{lstlisting}
|
||||
endsnippet
|
||||
|
||||
snippet `` "source code listing (inline)" wi
|
||||
\lstinline{${1:${VISUAL}}}
|
||||
endsnippet
|
||||
|
||||
snippet lstf "source code listing from file" bi
|
||||
\lstinputlisting[]{src/`!p snip.rv = snip.basename`.cpp}
|
||||
endsnippet
|
||||
@ -366,25 +358,14 @@ snippet s_ "substack" i
|
||||
\substack{$1}$0
|
||||
endsnippet
|
||||
|
||||
snippet glos "glossary" bi
|
||||
\newglossaryentry{$1}{
|
||||
name=$1,
|
||||
description={$2}
|
||||
}
|
||||
endsnippet
|
||||
snippet pglos "print glossaries" bi
|
||||
\printnoidxglossary
|
||||
endsnippet
|
||||
|
||||
snippet root "tex root specification" bi
|
||||
%!TEX root = ${1:master.tex}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet master "template for notes" bi
|
||||
\documentclass[fleqn, 12pt, openany, a4paper]{article}
|
||||
\documentclass[fleqn, 12pt, a4paper]{article}
|
||||
\input{$1../preamble.tex}
|
||||
%\input{glossary.tex}
|
||||
\title{$2}
|
||||
|
||||
\begin{document}
|
||||
@ -394,7 +375,3 @@ snippet master "template for notes" bi
|
||||
$0
|
||||
\end{document}
|
||||
endsnippet
|
||||
|
||||
snippet inp "input" bi
|
||||
\input{$1}
|
||||
endsnippet
|
||||
|
@ -15,7 +15,7 @@ ssh-add ~/.ssh/keys/lambda
|
||||
|
||||
if [ $ACTION = PUSH ]
|
||||
then
|
||||
rsync --delete -avzP \
|
||||
rsync -avzP \
|
||||
--chown=dogeystamp:sftpr \
|
||||
--exclude=med/mus \
|
||||
--exclude=med/gv \
|
||||
@ -36,7 +36,7 @@ then
|
||||
--exclude=.fls \
|
||||
--exclude=.fdb_latexmk \
|
||||
--exclude=.aux \
|
||||
~/med ~/dox ~/nt ~/.xonotic dogeystamp@lambda:/mnt/disk/uv/
|
||||
~/med ~/dox ~/.xonotic dogeystamp@lambda:/mnt/disk/uv/
|
||||
fi
|
||||
|
||||
if [ $ACTION = RECV ]
|
||||
|
@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Edit clipboard contents with $EDITOR
|
||||
|
||||
TMPFILE="$(mktemp)"
|
||||
|
||||
xsel -b > "$TMPFILE"
|
||||
nvim "$TMPFILE"
|
||||
cat "$TMPFILE" | xsel -ib
|
@ -3,7 +3,7 @@
|
||||
# Custom mpv settings
|
||||
|
||||
# passed to yt-dl
|
||||
FORMAT="bestvideo[height<=?1080]+bestaudio/best"
|
||||
FORMAT=""
|
||||
|
||||
mpv \
|
||||
--ytdl-format="$FORMAT" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user