Implement initial selection link creation

This commit is contained in:
Marty Oehme 2021-05-03 17:31:28 +02:00
parent 7c6882ac16
commit 2310f4a2d0
Signed by: Marty
GPG key ID: B7538B8F50A1C800
4 changed files with 75 additions and 3 deletions

View file

@ -13,6 +13,10 @@ 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>
nnoremap <Plug>zettel_link_open :lua require 'zettelkasten'.open_link()<cr>