~vonfry/dotfiles

5ff906548b9f591659ddd620d69a76d882aa1fec — Vonfry 3 months ago 3d5c79e
emacs/org: add keybindings to insert zero width spaces
M etc/nixos/modules/user/files/emacs.d/modules/lang/org/func.el => etc/nixos/modules/user/files/emacs.d/modules/lang/org/func.el +4 -0
@@ 40,3 40,7 @@
  (+org/id-update-recursively org-roam-directory)
  (org-id-update-id-locations)
  (org-id-locations-save))

(defun +org/insert-zero-width-space ()
  (interactive)
  (insert-char ?\u200B)) ;; code for ZERO WIDTH SPACE

M etc/nixos/modules/user/files/emacs.d/modules/lang/org/packages.el => etc/nixos/modules/user/files/emacs.d/modules/lang/org/packages.el +1 -0
@@ 54,6 54,7 @@
  :general
  ("C-c C" 'org-capture-goto-target)
  ("C-c a" 'org-agenda)
  ("C-x 8 s" '+org/insert-zero-width-space)
  (nmap-leader
    "o t i" 'org-clock-in-last
    "o t o" 'org-clock-out