Skip to content

Vim companion to denote.md shell script.

License

Notifications You must be signed in to change notification settings

shuckster/vim-denote-md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vim-denote-md

Companion plugin for denote-md.sh.

Installation

Plug 'shuckster/vim-denote-md'

Or just use that path in your favourite plugin manager.

Then add the following to your .vimrc / init.vim:

" Define where your denote-md script is located
let g:denote_md_script = $DENOTE_MD_SCRIPT_PATH

" Add your denote-md remaps
if filereadable(g:denote_md_script)
   nnoremap <Leader>dn :DenoteNewNote<CR>
   nnoremap <Leader>dt :DenoteChangeTitle<CR>
   nnoremap <Leader>dg :DenoteChangeTags<CR>
   nnoremap <Leader>dl :DenotePutNotesListForTags<CR>
   nnoremap <Leader>da :DenotePutNoteActionsForTags<CR>
   nnoremap <Leader>db :DenotePutNoteBacklinksForBuffer<CR>
   nnoremap <Leader>df :DenoteFollowLink<CR>
endif

Assuming:

export DENOTE_MD_SCRIPT_PATH=/path/to/denote-md.sh
export DENOTE_MD_NOTES_PATH=/path/to/your/notes/folder/

Credits

Props to u/varsderk for introducing me to denote.

vim-denote-md was written by Conan Theobald.

I hope you found it useful! If so, I like coffee ☕️ :)

About

Vim companion to denote.md shell script.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published