mirror of
https://github.com/gechandesu/todolist-syntax.git
synced 2024-11-27 19:22:40 +03:00
Update README.md
This commit is contained in:
parent
acfb048e62
commit
c7d24bcbb0
11
README.md
11
README.md
@ -1,22 +1,23 @@
|
|||||||
# todolist-syntax
|
# todolist-syntax
|
||||||
|
|
||||||
Vim syntax file for todo lists (**\*.td**).
|
Vim syntax file for todo lists (**\*.todo**, **\*.td**).
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
mkdir -p ~/.vim/syntax
|
mkdir -p ~/.vim/syntax
|
||||||
wget -O ~/.vim/syntax/todolist.vim https://raw.githubusercontent.com/gechandesu/todolist-syntax/main/todolist.vim
|
wget -O ~/.vim/syntax/todolist.vim https://raw.githubusercontent.com/gechandesu/todolist-syntax/main/todolist.vim
|
||||||
echo 'autocmd BufRead,BufNewFile *.td set filetype=todolist' >> ~/.vim/filetype.vim
|
echo 'autocmd BufRead,BufNewFile *.todo,*.td set filetype=todolist' >> ~/.vim/filetype.vim
|
||||||
```
|
```
|
||||||
|
|
||||||
# Syntax
|
# Syntax
|
||||||
|
|
||||||
```
|
```
|
||||||
- Uncompleted task (blue)
|
- Uncompleted task (light blue)
|
||||||
+ Completed task (green)
|
+ Completed task (green)
|
||||||
x Rejected task (red)
|
x Rejected task (red)
|
||||||
# Comment (cyan)
|
# Comment
|
||||||
TODO mark
|
\Marked text (yellow background)\
|
||||||
|
`Code (magenta)`
|
||||||
Plain text
|
Plain text
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user