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:
parent
5ee71ae705
commit
572fa471ae
1 changed files with 3 additions and 4 deletions
|
@ -247,10 +247,9 @@ map.v['g<c-a>'] = '<Plug>(dial-increment-additional)'
|
|||
map.v['g<c-x>'] = '<Plug>(dial-decrement-additional)'
|
||||
|
||||
-- PLUGIN: zettelkasten.nvim
|
||||
map.n.nore['<cr>'] =
|
||||
[[:silent lua require 'zettelkasten'.open_or_make_link()<cr>]]
|
||||
map.v.nore['<cr>'] = [[:lua require 'zettelkasten'.open_or_make_link(true)<cr>]]
|
||||
map.n.nore['<leader>ww'] = [[:lua require 'zettelkasten'.open_index()<cr> ]]
|
||||
map.n.nore['<cr>'] = [[:silent lua require 'zettelkasten'.link_follow()<cr>]]
|
||||
map.v.nore['<cr>'] = [[:lua require 'zettelkasten'.link_follow(true)<cr>]]
|
||||
map.n.nore['<leader>ww'] = [[:lua require 'zettelkasten'.index_open()<cr> ]]
|
||||
|
||||
-- PLUGIN: toggleterm.nvim
|
||||
-- create a lazygit window, set up in toggleterm settings
|
||||
|
|
Loading…
Reference in a new issue