New post: Vim, mark task as done

This commit is contained in:
Óscar M. Lage 2022-04-25 11:27:21 +02:00
parent d72d1451ce
commit 28b30938f4

View File

@ -21,7 +21,7 @@ nnoremap <Leader><Enter> :norm 0<CR>:.s/\[ ]/\[x]/g<CR>:.s/$/ ✅ /g<CR>:.s/$/\=
nnoremap <Leader>w :norm 0<CR>:.s/\[ ]/\[ ] 🚧️/g<CR>:nohl<CR> nnoremap <Leader>w :norm 0<CR>:.s/\[ ]/\[ ] 🚧️/g<CR>:nohl<CR>
``` ```
If I press `<Leader><Enter>` the task is marked as done. And for the same price I've added `<Leader>w` to mark the task visually as WIP *work-in-proccess* with the nice hoarding emoji. And that's how it looks like in `vim`: If I press `<Leader><Enter>` the task is marked as done. And for the same price I've added `<Leader>w` to mark the task visually as WIP *work-in-proccess* with the nice hoarding emoji. That's how it looks like in `vim`:
![Vim Mark task Done](gallery/vim-mark-task-done.gif) ![Vim Mark task Done](gallery/vim-mark-task-done.gif)