nvim: Update zettelkasten mappings to new version

Updated mappings for zettelkasten navigation and zettel creation to work
with the changes introduced in its new update.
This commit is contained in:
Marty Oehme 2022-01-28 10:17:26 +01:00
parent 5ee71ae705
commit 572fa471ae
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -247,10 +247,9 @@ map.v['g<c-a>'] = '<Plug>(dial-increment-additional)'
map.v['g<c-x>'] = '<Plug>(dial-decrement-additional)' map.v['g<c-x>'] = '<Plug>(dial-decrement-additional)'
-- PLUGIN: zettelkasten.nvim -- PLUGIN: zettelkasten.nvim
map.n.nore['<cr>'] = map.n.nore['<cr>'] = [[:silent lua require 'zettelkasten'.link_follow()<cr>]]
[[:silent lua require 'zettelkasten'.open_or_make_link()<cr>]] map.v.nore['<cr>'] = [[:lua require 'zettelkasten'.link_follow(true)<cr>]]
map.v.nore['<cr>'] = [[:lua require 'zettelkasten'.open_or_make_link(true)<cr>]] map.n.nore['<leader>ww'] = [[:lua require 'zettelkasten'.index_open()<cr> ]]
map.n.nore['<leader>ww'] = [[:lua require 'zettelkasten'.open_index()<cr> ]]
-- PLUGIN: toggleterm.nvim -- PLUGIN: toggleterm.nvim
-- create a lazygit window, set up in toggleterm settings -- create a lazygit window, set up in toggleterm settings