zettelkasten.nvim/plugin/zettelkasten.vim
Marty Oehme 0e77624689
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
BREAKING: Unify lua and plug API mappings
Made the names of the functions to invoke the plugin the same.
This is a BREAKING change if using the lua mappings.

On the other hand, it should stay pretty stable for the foreseeable
future, with only new ones added and possibly vim commands added.
2022-01-21 18:37:35 +01:00

15 lines
558 B
VimL

if exists('g:loaded_zettelkasten')
finish
endif
noremap <Plug>zettel_link_open :lua require 'zettelkasten'.link_open()<cr>
nnoremap <Plug>zettel_link_make :lua require 'zettelkasten'.link_make()<cr>
vnoremap <Plug>zettel_link_make :lua require 'zettelkasten'.link_make(true)<cr>
nnoremap <Plug>zettel_link_follow :lua require 'zettelkasten'.link_follow()<cr>
vnoremap <Plug>zettel_link_follow :lua require 'zettelkasten'.link_follow(true)<cr>
nnoremap <Plug>zettel_index_open :lua require 'zettelkasten'.index_open()<cr>
let g:loaded_zettelkasten = 1