Update feeds, GDScript and small org-fc tweak

This commit is contained in:
2025-04-16 12:15:10 +09:00
parent c34b7252e4
commit a556aca1f9
5 changed files with 62 additions and 5 deletions

View File

@@ -25,6 +25,20 @@ column."
(let ((name (buffer-name)))
(insert name)))
(defun my/create-org-fc-word-card ()
"Inserts and initialzes an org-fc double card with a word and its
translation at point."
(interactive)
(let* ((engw (read-from-minibuffer "Enter English word: "))
(rusw (read-from-minibuffer "Enter Russian word: ")))
(insert "* " engw)
(newline)
(insert rusw)
(previous-line)
(org-fc-type-double-init)))
(keymap-set org-mode-map "C-c C-n" 'my/create-org-fc-word-card)
(setq margins-map (make-sparse-keymap))
(keymap-set margins-map "f" 'my/resize-margins-to-fill)
(keymap-set margins-map "r" 'my/reset-margins)