From 572fa471ae9f9e981c8556715c328727ad5ce496 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 28 Jan 2022 10:17:26 +0100 Subject: [PATCH] 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. --- nvim/.config/nvim/lua/maps.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nvim/.config/nvim/lua/maps.lua b/nvim/.config/nvim/lua/maps.lua index f0e8278..fc655e4 100644 --- a/nvim/.config/nvim/lua/maps.lua +++ b/nvim/.config/nvim/lua/maps.lua @@ -247,10 +247,9 @@ map.v['g'] = '(dial-increment-additional)' map.v['g'] = '(dial-decrement-additional)' -- PLUGIN: zettelkasten.nvim -map.n.nore[''] = - [[:silent lua require 'zettelkasten'.open_or_make_link()]] -map.v.nore[''] = [[:lua require 'zettelkasten'.open_or_make_link(true)]] -map.n.nore['ww'] = [[:lua require 'zettelkasten'.open_index() ]] +map.n.nore[''] = [[:silent lua require 'zettelkasten'.link_follow()]] +map.v.nore[''] = [[:lua require 'zettelkasten'.link_follow(true)]] +map.n.nore['ww'] = [[:lua require 'zettelkasten'.index_open() ]] -- PLUGIN: toggleterm.nvim -- create a lazygit window, set up in toggleterm settings