Skip to content

Commit

Permalink
Change shortcut TODO functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
basille committed Nov 23, 2023
1 parent a478950 commit 31aeb7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions init.org
Original file line number Diff line number Diff line change
Expand Up @@ -1627,17 +1627,17 @@ tweaks:
)
#+END_SRC

Additional home-made functions to deal with to-do items in Markdown (~C-c t~ to
insert =**TODO**= at beginning of the line, ~C-c d~ to switch between
Additional home-made functions to deal with to-do items in Markdown (~C-c C-t~
to insert =**TODO**= at beginning of the line, ~C-c C-d~ to switch between
**TODO**/**DONE**, ~C-S-F5~ to display an interactive list of to-do items in a
Grep top buffer):

#+BEGIN_SRC emacs-lisp
(add-hook 'markdown-mode-hook
(lambda ()
(load-library "md-todo-library")
(local-set-key (kbd "C-c t") 'md-todo)
(local-set-key (kbd "C-c d") 'md-todo-done)
(local-set-key (kbd "C-c C-t") 'md-todo)
(local-set-key (kbd "C-c C-d") 'md-todo-done)
(local-set-key [C-S-f5] 'md-todo-list)
))
#+END_SRC
Expand Down

0 comments on commit 31aeb7a

Please sign in to comment.