2026-02-04T15:37:44

This commit is contained in:
2026-02-04 15:37:43 +01:00
parent c9505d7bf8
commit 1502d695aa
10 changed files with 55 additions and 23 deletions

View File

@@ -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
@@ -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)

View File

@@ -1 +0,0 @@
/home/username/.emacs.d/.local/straight/repos/snippets/fundamental-mode/time

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: \acrfull{}
# key: af
# uuid: af
# --
\acrfull{$0}

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: cite with page
# uuid: cp
# key: cp
# condition: t
# --
\cite[S. $2]{$1} $0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: quotes
# uuid: qq
# key: qq
# condition: t
# --
\glqq $1\grqq{} $0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: (current time)
# key: time
# uuid: time
# --
`(format-time-string "%Y-%m-%dT%H:%M:%S" (current-time))`