removed old files
This commit is contained in:
@@ -1,19 +0,0 @@
|
|||||||
" Link completion {{{1
|
|
||||||
set omnifunc=denote#completion#get
|
|
||||||
|
|
||||||
" Go to file command |gf| adjustments {{{1
|
|
||||||
" This resolves denote links. The function has access to the variable v:fname,
|
|
||||||
" which corresponds to the filename under the cursor.
|
|
||||||
function s:DenoteGotoFile()
|
|
||||||
return v:fname !~ "^denote:"
|
|
||||||
\ ? v:fname
|
|
||||||
\ : denote#meta#fileFromNoteId(v:fname[7:]) ?? v:fname
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
" Denote links are of the form 'denote:<note id>'; we require the column.
|
|
||||||
setlocal isfname+=:
|
|
||||||
" Set the function to resolve the filename under the cursor (see |gf|).
|
|
||||||
setlocal includeexpr=s:DenoteGotoFile()
|
|
||||||
|
|
||||||
" Back references command {{{1
|
|
||||||
command! DenoteBackReferences :call denote#loclist#references(denote#meta#noteIdFromFile(expand("%:t")))
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
markdown.vim
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
" Disable spell checking and set up custom mappings.
|
|
||||||
setlocal nospell
|
|
||||||
|
|
||||||
if getwininfo(win_getid())[0].loclist == 0
|
|
||||||
finish
|
|
||||||
endif
|
|
||||||
nnoremap <buffer> q :lclose<CR>
|
|
||||||
nnoremap <buffer> dd :lremove<CR>
|
|
||||||
Reference in New Issue
Block a user