GitHub - will-ockmore/vim-notes: A simple workflow for managing your daily notes...
source link: https://github.com/will-ockmore/vim-notes
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upLatest commit
Git stats
Files
README.md
vim-notes
A simple workflow for managing your daily notes from Vim.
Each day's notes will be available in $HOME/notes
as a markdown file.
Configuration
vim-notes provides a single command, :Notes
, to open the day's notes.
Add a mapping in your configuration:
nnoremap <leader>ne :Notes<CR>
Set the directory using the notes_dir
variable:
let g:notes_dir = $HOME . "/some/other/directory"
Set the date format for the names of the files using the vim_notes_date_format
variable:
let g:vim_notes_date_format = "%d-%m-%Y-%A"
The format should be the accepted by the strftime()
function.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK