aboutsummaryrefslogtreecommitdiff
path: root/vim.dot.link/plugin/key_mappings.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim.dot.link/plugin/key_mappings.vim')
-rw-r--r--vim.dot.link/plugin/key_mappings.vim19
1 files changed, 19 insertions, 0 deletions
diff --git a/vim.dot.link/plugin/key_mappings.vim b/vim.dot.link/plugin/key_mappings.vim
index 0c1fe95..61f54b4 100644
--- a/vim.dot.link/plugin/key_mappings.vim
+++ b/vim.dot.link/plugin/key_mappings.vim
@@ -191,3 +191,22 @@ vnoremap <C-x> "+c
" For email: unfold and delete to your signature
" See https://hroy.eu/tips/vim/email-delete-til-signature/
noremap ,dd zi:.;/^-- $/d<CR>O-- <UP><End><CR><CR><UP><CR><C-O>zi
+
+" Simple TODO lists
+" https://github.com/vitalk/vim-simple-todo/
+let g:simple_todo_map_keys = 0
+let g:simple_todo_list_symbol = '*'
+nmap <Leader>i <Plug>(simple-todo-new-list-item)
+nmap <Leader>I <Plug>(simple-todo-new-list-item-start-of-line)
+nmap <Leader>x <Plug>(simple-todo-mark-as-done)
+nmap <Leader>X <Plug>(simple-todo-mark-as-undone)
+nmap <Leader>s <Plug>(simple-todo-mark-switch)
+imap <Leader>i <Plug>(simple-todo-new-list-item)
+imap <Leader>I <Plug>(simple-todo-new-list-item-start-of-line)
+imap <Leader>X <Plug>(simple-todo-mark-as-undone)
+imap <Leader>x <Plug>(simple-todo-mark-as-done)
+imap <Leader>s <Plug>(simple-todo-mark-switch)
+vmap <Leader>I <Plug>(simple-todo-new-list-item-start-of-line)
+vmap <Leader>X <Plug>(simple-todo-mark-as-undone)
+vmap <Leader>x <Plug>(simple-todo-mark-as-done)
+vmap <Leader>s <Plug>(simple-todo-mark-switch)