" Public commands function denote#commands#load() if exists('g:denote_commands_loaded') && g:denote_commands_loaded return endif let g:denote_commands_loaded = 1 " Register user commands command -nargs=* Denote call denote#notes#list() | lcl | lopen command -nargs=1 -complete=custom,denote#completion#tags DenoteByTag call denote#notes#bytag() | lcl | lopen command -nargs=+ DenoteGrep call denote#notes#grep() | lcl | lopen command -nargs=1 DenoteNew call denote#notes#new() command -nargs=1 -complete=file DenoteCopy call denote#notes#copy() endfunction