Initial commit

This commit is contained in:
2022-08-19 23:17:05 +02:00
commit a8abb8dab6
17 changed files with 1121 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# name: hi all
# key: all
# --
Hi all,
$0
Cheers,
Max

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: Best regards
# key: best,
# --
Best regards,
Max${ Schlüter}

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: Cordialement
# key: cord,
# --
Cordialement,
Max${ Schlüter}

View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# name: dear name
# key: dear
# --
Dear ${1:`(bjm/mu4e-get-names-for-yasnippet)`},
$0
Best regards,
Max Schlueter

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: hallo name
# key: hallo,
# --
Hallo ${1:`(bjm/mu4e-get-names-for-yasnippet)`},
$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: hi name
# key: hi,
# --
Hi ${1:`(bjm/mu4e-get-names-for-yasnippet)`},
$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: Liele Grüße
# key: lg,
# --
Liebe Grüße,
Max

View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# name: liebe titel name
# key: liebe,
# --
Liebe${1:$(when (string-prefix-p "Herr" yas-text) "r")} ${1:$$(yas-completing-read "Titel? " '("Herr" "Frau"))},
$0
Viele Grüße,
Max Schlüter

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: Liele Grüße
# key: lg,
# --
Mit freundlichen Grüßen,
Max Schlüter

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: Salut
# key: salut,
# --
Salut ${1:`(bjm/mu4e-get-names-for-yasnippet)`},
$0

View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# name: Sehr geehrte...
# key: sehr,
# --
Sehr geehrte${1:$(when (string-prefix-p "Herr" yas-text) "r")} ${1:$$(yas-completing-read "Titel? " '("Herr" "Frau" "Damen und Herren"))},
$0
Mit freundlichen Grüßen,
Max Schlüter

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: Viele Grüße
# key: vg,
# --
Viele Grüße,
Max${ Schlüter}

View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# name: hallo zusammen
# key: zusammen
# --
Hallo zusammen,
$0
Viele Grüße,
Max

38
snippets/text-mode/letter Normal file
View File

@@ -0,0 +1,38 @@
# -*- mode: snippet -*-
# name:myExampleLetter
# key:,ltr
# --
#+LCO: mySN
#+OPTIONS: backaddress:t email:nil
#+OPTIONS: after-closing-order:(after_closing ps encl cc)
#+OPTIONS: after-letter-order:(after_letter)
#+OPTIONS: foldmarks:nil phone:nil place:t special-headings:nil subject:t
#+OPTIONS: title-subject:nil url:nil location:t title:nil
#+LATEX_CLASS: default-koma-letter
#+LATEX_HEADER: \setkomavar{signature}{\includegraphics[height=1cm]{/home/ra/Downloads/signature.pdf}\\\\\usekomavar{fromname}}
#+LaTeX_HEADER: \usepackage{pdfpages}
#+AUTHOR: Sender Name
#+FROM_ADDRESS: Acmestreet 1, 5555 Footown
#+PHONE_NUMBER: 0123456789
#+URL: example.org
#+EMAIL: foo@bar.com
#+TO_ADDRESS: ${1:ReceiverInc}\\\ ${2:JohnDoe}\\\ ${3:SomeStreet}\\\ ${4:ZipTown}\\\Mittelerde
#+PLACE: MyTown
#+SUBJECT: ${5:MySubject}
#+OPENING: ${6:Dear John}
#+CLOSING: With best regards
${0:MyText}
*** PS :ps:noexport:
PS: I must remove the :noexport: tag to display this line in the exported pdf
*** CC :cc:
Jane & Alice
*** ENCL :encl:
- A map
- Another map
*** Included files :after_letter:
#+BEGIN_EXPORT latex
% Uncomment line below to include other pdf files
%\includepdf[pages=-]{/home/ra/Downloads/Map.pdf} %must use absolute path
%\includepdf[pages=-]{/home/ra/Downloads/OtherMap.pdf} %must use absolute path
#+END_EXPORT