1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

update documentation for resuming cursor position

This commit is contained in:
jdhao 2024-08-30 01:02:29 +02:00
parent 9071e045eb
commit a9fc298063

View File

@ -169,6 +169,10 @@ api.nvim_create_autocmd("FileType", {
vim.inspect(ev), result))
end
end)
-- the following two ways also seem to work,
-- ref: https://www.reddit.com/r/neovim/comments/104lc26/how_can_i_press_escape_key_using_lua/
-- vim.api.nvim_feedkeys("g`\"", "n", true)
-- vim.fn.execute("normal! g`\"")
end
end,
})