rename notes/and files

This commit is contained in:
2026-02-27 21:57:19 +01:00
parent 553cf41c96
commit 55bbeecb0a
6 changed files with 121 additions and 25 deletions

View File

@@ -20,7 +20,7 @@ function denote#ft#denote()
setlocal includeexpr=s:gotofile()
" Back references command
let l:noteid = denote#meta#noteIdFromFile(expand('%:t'))
exe 'command! DenoteBackReferences DenoteGrep /\<denote:' .. l:noteid .. '\>/gj'
exe 'command! -buffer DenoteBackReferences DenoteGrep /\<denote:' .. l:noteid .. '\>/gj'
endfunction
" Location-list specifics
@@ -41,7 +41,7 @@ function denote#ft#qf()
nnoremap <buffer> <silent> r :call denote#loclist#reload()<CR>
endif
" Denote-list specific configuration
" if l:context == 'denote-list'
" call denote#commands#loadll()
" endif
if l:context['denote'] == 'list'
command! -nargs=1 -range -buffer DenoteSetTitle :call denote#notes#settitle(<line1>, <q-args>)
endif
endfunction