Make section for text-mode bindings

This commit is contained in:
contrapunctus 2022-01-16 14:05:47 +05:30
parent 952012182c
commit 38077b5313
1 changed files with 12 additions and 6 deletions

View File

@ -1296,12 +1296,6 @@ as links into an Org or Markdown document."
(markdown-display-inline-images)))
#+END_SRC
#+BEGIN_SRC emacs-lisp
(with-eval-after-load 'text-mode
(define-key text-mode-map (kbd "M-p") 'org-drag-line-backward)
(define-key text-mode-map (kbd "M-n") 'org-drag-line-forward))
#+END_SRC
#+BEGIN_SRC emacs-lisp
(defun cp-insert-timestamp (&optional date-only-p)
"Insert current date and time in ISO-8601 format in the current buffer."
@ -1313,6 +1307,18 @@ as links into an Org or Markdown document."
(t (insert timestamp)))))
#+END_SRC
** text-mode
:PROPERTIES:
:CREATED: 2022-01-16T14:02:56+0530
:END:
#+BEGIN_SRC emacs-lisp
(use-package text-mode
:bind
(:map text-mode-map
("M-c" . 'org-drag-line-backward)
("M-r" . 'org-drag-line-forward)))
#+END_SRC
** undo-tree
:PROPERTIES:
:CUSTOM_ID: editing-undo-tree