diff --git a/config.el b/config.el index 23a14ff..58b43f7 100755 --- a/config.el +++ b/config.el @@ -137,8 +137,8 @@ ;; (spell-fu-dictionary-add (spell-fu-get-ispell-dictionary "de_DE")) ;; (spell-fu-dictionary-add (spell-fu-get-ispell-dictionary "en_US")) ;; )) -;; -;; +;; +;; ;; (setq ispell-program-name "aspell" ;; aspell-dictionary "de_DE" ;; aspell-dictionary "en_US" @@ -381,22 +381,23 @@ ;;;;(define-key pdf-view-mode-map (kbd "D") 'pdf-annot-delete) ;; (map! :map evil-normal-state-map "SPC i t" #'insert-current-date-time) -(map! :after pdf-view - :map pdf-view-mode-map - :prefix "a" - "h" #'pdf-annot-add-highlight-markup-annotation - "t" #'pdf-annot-add-text-annotation - "m" #'pdf-annot-add-markup-annotation - "l" #'pdf-annot-list-annotations - "D" #'pdf-annot-delete - "a" #'pdf-annot-attachment-dired - ) -;; (map! :map pdf-view-mode-map "a h" #'pdf-annot-add-highlight-markup-annotation) -;; (map! :map pdf-view-mode-map "a t" #'pdf-annot-add-text-annotation) -;; (map! :map pdf-view-mode-map "a D" #'pdf-annot-delete) -;; (map! :map pdf-view-mode-map "a l" #'pdf-annot-list-annotations) -;; (map! :map pdf-view-mode-map "a a" #'pdf-annot-attachment-dired) -;; (map! :map pdf-view-mode-map "a m" #'pdf-annot-add-markup-annotation) +;; (map! :after pdf-view +;; :map pdf-view-mode-map +;; :prefix "a" +;; "h" #'pdf-annot-add-highlight-markup-annotation +;; "t" #'pdf-annot-add-text-annotation +;; "m" #'pdf-annot-add-markup-annotation +;; "l" #'pdf-annot-list-annotations +;; "D" #'pdf-annot-delete +;; "a" #'pdf-annot-attachment-dired +;; ) +(map! :map pdf-view-mode-map :n "a h" #'pdf-annot-add-highlight-markup-annotation) +(map! :map pdf-view-mode-map :n "a t" #'pdf-annot-add-text-annotation) +(map! :map pdf-view-mode-map :n "a D" #'pdf-annot-delete) +(map! :map pdf-view-mode-map :n "a l" #'pdf-annot-list-annotations) +(map! :map pdf-view-mode-map :n "a a" #'pdf-annot-attachment-dired) +(map! :map pdf-view-mode-map :n "a m" #'pdf-annot-add-markup-annotation) + ;; ==================== ;; insert date and time @@ -712,7 +713,7 @@ Verhalten: (orgtbl-to-csv tbl nil)) ;; Kein :file -> Tabelle als normales Babel-Ergebnis tbl)))))) - + ;; Originalfunktion vollständig übersteuern (advice-add 'org-babel-execute:cypher :override #'my/org-babel-execute:cypher)) @@ -739,7 +740,7 @@ Verhalten: (setq doom-snippets-dir (expand-file-name "doom-snippets/" doom-user-dir)) -(setq +snippets-dir (expand-file-name "private-snippets/" doom-user-dir)) +(setq +snippets-dir (expand-file-name "private-snippets/" doom-user-dir)) (use-package org-noter) @@ -747,11 +748,16 @@ Verhalten: ;; just like in pdf-view (map! :map evil-normal-state-map "SPC j m" #'jump-to-register) (map! :map evil-normal-state-map "SPC j M" #'point-to-register) +(map! :map evil-normal-state-map "SPC j '" #'point-to-register) - +;; pdf view ;;(define-key map (kbd "'") 'pdf-view-jump-to-register) -(map! :map pdf-view-mode-map "M" #'pdf-view-jump-to-register) +;; (map! :after pdf-view :map pdf-view-mode-map "SPC j m" #'pdf-view-jump-to-register) +;; (map! :after pdf-view :map pdf-view-mode-map "SPC j M" #'pdf-view-point-to-register) +(map! :map pdf-view-mode-map :n "m" #'pdf-view-jump-to-register) +(map! :map pdf-view-mode-map :n "M" #'pdf-view-position-to-register) (map! :map evil-normal-state-map "SPC j n" #'evil-jump-forward) (map! :map evil-normal-state-map "SPC j N" #'evil-jump-backward) +(map! :after latex-mode :map latex-mode-map :n "SPC i c" #'citar-insert-citation) diff --git a/doom-snippets/fundamental-mode/time b/doom-snippets/fundamental-mode/time deleted file mode 120000 index 5b8ada3..0000000 --- a/doom-snippets/fundamental-mode/time +++ /dev/null @@ -1 +0,0 @@ -/home/username/.emacs.d/.local/straight/repos/snippets/fundamental-mode/time \ No newline at end of file diff --git a/private-snippets/LaTeX-mode/acrfull b/private-snippets/LaTeX-mode/acrfull new file mode 100644 index 0000000..0fc6dd6 --- /dev/null +++ b/private-snippets/LaTeX-mode/acrfull @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: \acrfull{} +# key: af +# uuid: af +# -- +\acrfull{$0} \ No newline at end of file diff --git a/private-snippets/latex-mode/acrlong b/private-snippets/LaTeX-mode/acrlong similarity index 100% rename from private-snippets/latex-mode/acrlong rename to private-snippets/LaTeX-mode/acrlong diff --git a/private-snippets/latex-mode/acrshort b/private-snippets/LaTeX-mode/acrshort similarity index 100% rename from private-snippets/latex-mode/acrshort rename to private-snippets/LaTeX-mode/acrshort diff --git a/private-snippets/latex-mode/alertblock b/private-snippets/LaTeX-mode/alertblock similarity index 100% rename from private-snippets/latex-mode/alertblock rename to private-snippets/LaTeX-mode/alertblock diff --git a/private-snippets/latex-mode/chapter b/private-snippets/LaTeX-mode/chapter similarity index 100% rename from private-snippets/latex-mode/chapter rename to private-snippets/LaTeX-mode/chapter diff --git a/private-snippets/LaTeX-mode/cp b/private-snippets/LaTeX-mode/cp new file mode 100644 index 0000000..84888a0 --- /dev/null +++ b/private-snippets/LaTeX-mode/cp @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: cite with page +# uuid: cp +# key: cp +# condition: t +# -- + +\cite[S. $2]{$1} $0 \ No newline at end of file diff --git a/private-snippets/LaTeX-mode/qq b/private-snippets/LaTeX-mode/qq new file mode 100644 index 0000000..98fd95e --- /dev/null +++ b/private-snippets/LaTeX-mode/qq @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: quotes +# uuid: qq +# key: qq +# condition: t +# -- +\glqq $1\grqq{} $0 \ No newline at end of file diff --git a/private-snippets/fundamental-mode/time b/private-snippets/fundamental-mode/time new file mode 100644 index 0000000..a51303a --- /dev/null +++ b/private-snippets/fundamental-mode/time @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: (current time) +# key: time +# uuid: time +# -- +`(format-time-string "%Y-%m-%dT%H:%M:%S" (current-time))`