diff --git a/README.md b/README.md index 2feb306..f39b438 100644 --- a/README.md +++ b/README.md @@ -5,17 +5,26 @@ Local file history save and restore for Neovim (requires `nvim-telescope`) ### Global functions ```lua - -- Remove history for files that no longer exist - _G.Nvim_Haven_Clean = M.clean +-- Remove history for files that no longer exist +_G.Nvim_Haven_Clean = M.clean - -- Disable nvim-haven - _G.Nvim_Haven_Disable = M.disable +-- Disable nvim-haven +_G.Nvim_Haven_Disable = M.disable - -- Enable nvim-haven - _G.Nvim_Haven_Enable = M.enable +-- Enable nvim-haven +_G.Nvim_Haven_Enable = M.enable - -- Display history in telescope - _G.Nvim_Haven_History = M.history +-- Display history in telescope +_G.Nvim_Haven_History = M.history +``` + +### Preview navigation keymaps + +```lua +map("i", "", do_forward_jump) +map("n", "", do_forward_jump) +map("i", "", do_reverse_jump) +map("n", "", do_reverse_jump) ``` ### Example diff --git a/lua/nvim-haven/init.lua b/lua/nvim-haven/init.lua index bb885b7..22a9742 100644 --- a/lua/nvim-haven/init.lua +++ b/lua/nvim-haven/init.lua @@ -539,7 +539,7 @@ M.setup = function(config) if type(e) ~= "function" then print_message( true, - "'exlcusions' contains an entry that is not a function. Skipping all exclusions until this is corrected:" + "'exclusions' contains an entry that is not a function. Skipping all exclusions until this is corrected:" ) table.print_table(e) break