commit d5a7d1db737fe941af0ad7da1e62933d31fab67a parent 477de18f416ecf7742e78aee168ef0b3e5709ba0 Author: Alex Balgavy <alex@balgavy.eu> Date: Mon, 9 Aug 2021 10:20:21 +0200 emacs: another anki-editor keybinding Diffstat:
M | emacs/config.org | | | 20 | +++++++++++--------- |
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org @@ -275,15 +275,16 @@ Some extra keybindings that are not set up by default. anki-editor doesn't provide a keymap so I have to set one up here: #+begin_src emacs-lisp - (use-package anki-editor - :init - (defvar anki-editor-mode-map (make-sparse-keymap)) - (add-to-list 'minor-mode-map-alist (cons 'anki-editor-mode - anki-editor-mode-map)) - :bind (:map anki-editor-mode-map - ("C-c i" . anki-editor-insert-note) - ("C-c p" . anki-editor-push-notes) - ("C-c c" . anki-editor-cloze-dwim))) + (use-package anki-editor + :init + (defvar anki-editor-mode-map (make-sparse-keymap)) + (add-to-list 'minor-mode-map-alist (cons 'anki-editor-mode + anki-editor-mode-map)) + :bind (:map anki-editor-mode-map + ("C-c t" . org-property-next-allowed-value) + ("C-c i" . anki-editor-insert-note) + ("C-c p" . anki-editor-push-notes) + ("C-c c" . anki-editor-cloze-dwim))) #+end_src * Interface @@ -577,6 +578,7 @@ Bind M-F to the old functionality of M-f (stop at end of word) ** Rectangle insert string #+begin_src emacs-lisp (global-set-key (kbd "C-x r I") 'string-insert-rectangle) + (global-set-key (kbd "C-x r R") 'replace-rectangle) #+end_src ** Org mode - yank URL