Skip to content

Create DailyNote with structured path and from templates.

License

Notifications You must be signed in to change notification settings

takavfx/dailynote.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dailynote.vim

Create DailyNote with structured path and from templates.

Install

Installing with dein.vim, for example, set in toml like this.

[[plugins]]
repo = 'takavfx/dailynote.vim'
depends = 'denops.vim'

Introduction

Use this command in DialyNote project ROOT directory.

Read also dailynote.txt

Create/Open Daily Note

To Create(Open) dailynote, use this command:

:DialyNoteCreate

This command creates if time is 2023/03/05, '~/2023/2023-03/2023-03-05.md'

If you want to create 3 days before daily note, then use command with arg:

:DailyNoteCreate -3

This creates '~/2023/2023-3/2023-03-02.md'.

If creating file exists already, open that file into a buffer.

Use template

Adding some template under a title, create template.md at the project root.

DailyNote (root)
  |-- 2022
  |-- 2023
  |-- template.md

If you set the template like below:

## Today Working Tasks


## Next Working Tasks


## Today's comment


## Note

Then you get:

# Daily Note: 2023-03-05.md

## Today Working Tasks


## Next Working Tasks


## Today's comment


## Note

About

Create DailyNote with structured path and from templates.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published