Update feeds, GDScript and small org-fc tweak
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user