2020-10-31 10:01:53 +00:00
|
|
|
" TODO remove after debugging
|
|
|
|
if exists('g:loaded_zettelkasten')
|
|
|
|
finish
|
|
|
|
endif
|
2020-10-26 14:55:40 +00:00
|
|
|
|
2021-05-04 12:08:05 +00:00
|
|
|
noremap <Plug>zettel_link_open :lua require 'zettelkasten'.open_link()<cr>
|
2020-10-26 14:55:40 +00:00
|
|
|
|
2021-05-04 07:46:18 +00:00
|
|
|
nnoremap <Plug>zettel_link_make :lua require 'zettelkasten'.make_link()<cr>
|
|
|
|
vnoremap <Plug>zettel_link_make :lua require 'zettelkasten'.make_link(true)<cr>
|
2021-05-04 12:08:05 +00:00
|
|
|
|
|
|
|
nnoremap <Plug>zettel_link_follow :lua require 'zettelkasten'.open_or_make_link()<cr>
|
|
|
|
vnoremap <Plug>zettel_link_follow :lua require 'zettelkasten'.open_or_make_link(true)<cr>
|
2021-05-03 21:02:59 +00:00
|
|
|
|
2020-10-31 10:01:53 +00:00
|
|
|
let g:loaded_zettelkasten = 1
|