Remove debug.vim from repository
This commit is contained in:
parent
20d8edb800
commit
0cf4516048
3 changed files with 1 additions and 21 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
public/
|
||||
plugin/debug.vim
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
" TODO for DEBUGGING ONLY: reloads the whole lua plugin
|
||||
fun! ZKReload()
|
||||
lua for k in pairs(package.loaded) do if k:match("^zettelkasten") then package.loaded[k] = nil end end
|
||||
lua require 'zettelkasten'
|
||||
endfun
|
||||
nnoremap <leader>R :call ZKReload()<cr>
|
||||
|
||||
augroup Zettelkasten
|
||||
autocmd!
|
||||
augroup END
|
||||
|
||||
command! ZKOpen lua require('zettelkasten').open_link()
|
||||
|
||||
command! -range ZKCreate lua require('zettelkasten').create_link()
|
||||
|
||||
" example plug mappings
|
||||
" nnoremap <Plug>Zettel_Link :call zettelkasten#zettel_link()<cr>
|
||||
map <leader>i <Plug>zettel_link_open
|
||||
|
||||
map <cr> <Plug>zettel_link_follow
|
|
@ -1,4 +1,3 @@
|
|||
" TODO remove after debugging
|
||||
if exists('g:loaded_zettelkasten')
|
||||
finish
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue