commit 131b0c9e01348ca2f98f7d6db47999a140d407fc Author: eneller Date: Tue Jun 27 19:19:01 2023 +0200 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9508750 --- /dev/null +++ b/.gitignore @@ -0,0 +1,334 @@ +# Created by https://www.toptal.com/developers/gitignore/api/latex,visualstudiocode +# Edit at https://www.toptal.com/developers/gitignore?templates=latex,visualstudiocode + +### LaTeX ### +## Core latex/pdflatex auxiliary files: +*.aux +*.lof +*.log +*.lot +*.fls +*.out +*.toc +*.fmt +*.fot +*.cb +*.cb2 +.*.lb + +## Intermediate documents: +*.dvi +*.xdv +*-converted-to.* +# these rules might exclude image files for figures etc. +# *.ps +# *.eps +*.pdf + +## Generated if empty string is given at "Please type another file name for output:" +.pdf + +## Bibliography auxiliary files (bibtex/biblatex/biber): +*.bbl +*.bcf +*.blg +*-blx.aux +*-blx.bib +*.run.xml + +## Build tool auxiliary files: +*.fdb_latexmk +*.synctex +*.synctex(busy) +*.synctex.gz +*.synctex.gz(busy) +*.pdfsync + +## Build tool directories for auxiliary files +# latexrun +latex.out/ + +## Auxiliary and intermediate files from other packages: +# algorithms +*.alg +*.loa + +# achemso +acs-*.bib + +# amsthm +*.thm + +# beamer +*.nav +*.pre +*.snm +*.vrb + +# changes +*.soc + +# comment +*.cut + +# cprotect +*.cpt + +# elsarticle (documentclass of Elsevier journals) +*.spl + +# endnotes +*.ent + +# fixme +*.lox + +# feynmf/feynmp +*.mf +*.mp +*.t[1-9] +*.t[1-9][0-9] +*.tfm + +#(r)(e)ledmac/(r)(e)ledpar +*.end +*.?end +*.[1-9] +*.[1-9][0-9] +*.[1-9][0-9][0-9] +*.[1-9]R +*.[1-9][0-9]R +*.[1-9][0-9][0-9]R +*.eledsec[1-9] +*.eledsec[1-9]R +*.eledsec[1-9][0-9] +*.eledsec[1-9][0-9]R +*.eledsec[1-9][0-9][0-9] +*.eledsec[1-9][0-9][0-9]R + +# glossaries +*.acn +*.acr +*.glg +*.glo +*.gls +*.glsdefs +*.lzo +*.lzs +*.slg +*.slo +*.sls + +# uncomment this for glossaries-extra (will ignore makeindex's style files!) +# *.ist + +# gnuplot +*.gnuplot +*.table + +# gnuplottex +*-gnuplottex-* + +# gregoriotex +*.gaux +*.glog +*.gtex + +# htlatex +*.4ct +*.4tc +*.idv +*.lg +*.trc +*.xref + +# hyperref +*.brf + +# knitr +*-concordance.tex +# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files +# *.tikz +*-tikzDictionary + +# listings +*.lol + +# luatexja-ruby +*.ltjruby + +# makeidx +*.idx +*.ilg +*.ind + +# minitoc +*.maf +*.mlf +*.mlt +*.mtc[0-9]* +*.slf[0-9]* +*.slt[0-9]* +*.stc[0-9]* + +# minted +_minted* +*.pyg + +# morewrites +*.mw + +# newpax +*.newpax + +# nomencl +*.nlg +*.nlo +*.nls + +# pax +*.pax + +# pdfpcnotes +*.pdfpc + +# sagetex +*.sagetex.sage +*.sagetex.py +*.sagetex.scmd + +# scrwfile +*.wrt + +# svg +svg-inkscape/ + +# sympy +*.sout +*.sympy +sympy-plots-for-*.tex/ + +# pdfcomment +*.upa +*.upb + +# pythontex +*.pytxcode +pythontex-files-*/ + +# tcolorbox +*.listing + +# thmtools +*.loe + +# TikZ & PGF +*.dpth +*.md5 +*.auxlock + +# titletoc +*.ptc + +# todonotes +*.tdo + +# vhistory +*.hst +*.ver + +# easy-todo +*.lod + +# xcolor +*.xcp + +# xmpincl +*.xmpi + +# xindy +*.xdy + +# xypic precompiled matrices and outlines +*.xyc +*.xyd + +# endfloat +*.ttt +*.fff + +# Latexian +TSWLatexianTemp* + +## Editors: +# WinEdt +*.bak +*.sav + +# Texpad +.texpadtmp + +# LyX +*.lyx~ + +# Kile +*.backup + +# gummi +.*.swp + +# KBibTeX +*~[0-9]* + +# TeXnicCenter +*.tps + +# auto folder when using emacs and auctex +./auto/* +*.el + +# expex forward references with \gathertags +*-tags.tex + +# standalone packages +*.sta + +# Makeindex log files +*.lpz + +# xwatermark package +*.xwm + +# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib +# option is specified. Footnotes are the stored in a file with suffix Notes.bib. +# Uncomment the next line to have this generated file ignored. +#*Notes.bib + +### LaTeX Patch ### +# LIPIcs / OASIcs +*.vtc + +# glossaries +*.glstex + +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +# End of https://www.toptal.com/developers/gitignore/api/latex,visualstudiocode + diff --git a/content.tex b/content.tex new file mode 100644 index 0000000..44ea309 --- /dev/null +++ b/content.tex @@ -0,0 +1,85 @@ +\documentclass{article} + +% content related packages +\usepackage[os=win]{menukeys} + +% layout related packages +\usepackage{parskip} +\usepackage[a4paper, margin=1pt]{geometry} +\usepackage{pdflscape} + + +% TODO show the mod key in a diferent way, maybe shortend as "mod" or darker like the example +\newcommand{\mod}{\ctrl + B} +\newcommand{\tkeys}[1]{\keys{\ctrl + B + #1}} + + + +\begin{document} + +\begin{landscape} +\section{sessions} +\subsection*{new sessions} +tmux +tmux new +tmux new-session +tmux new -s sessionname +\subsection*{attach sessions} +tmux a +tmux attach +tmux a -t sessionname +\subsection*{remove sessions} +tmux kill-session -t sessionname +\subsection*{key bindings} +\tkeys{\$} rename \\ +\tkeys{D} detach \\ +\tkeys{(} next \\ +\tkeys{)} previous \\ + +\section{panes} +are the sections that make up a window +\subsection*{key bindings} +\tkeys{\%} vertical split \\ +% this was shortened +% TODO fix this odd looking combination of arrows +\tkeys{\arrowkeyup, \arrowkeydown, \arrowkeyleft ,\arrowkeyright} move to pane (up,down,left,right) \\ + +\tkeys{O} go to next pane \\ % that is an O, the letter, not a number +\tkeys{;} go to last active pane \\ +\tkeys{\}} move pane right \\ +\tkeys{\{} move pane left \\ +\tkeys{!} convert pane to window \\ +\tkeys{X} kill pane + +\section{windows} +are like tabs and occupy the space of a session screen +\subsection*{key bindings} +\tkeys{C} create window \\ +\tkeys{N} move to next window \\ +\tkeys{P} move to previous window \\ +\tkeys{L} move to most recent window \\ +\tkeys{0..9} select window by number \\ +\tkeys{'} select window by name \\ +\tkeys{.} change window number \\ +\tkeys{,} rename window \\ +\tkeys{F} search window \\ +\tkeys{\&} kill window + +\section{copy mode} +\subsection*{key bindings} +\tkeys{[} enter copy mode \\ +\tkeys{]} paste from buffer + +\subsection*{copy mode commands} +\keys{\SPACE} start selection \\ +\keys{\enter} copy selection \\ +\keys{\esc} clear selection \\ +\keys{g} go to top \\ +\keys{G} go to bottom \\ +\keys{hjkl} move cursor (left,down,up,right) \\ +\keys{/} search \\ +\keys{\#} list paste buffers \\ +\keys{q} quit +\end{landscape} + +\end{document}