rename notes/and files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user