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:
parent
9071e045eb
commit
a9fc298063
@ -169,6 +169,10 @@ api.nvim_create_autocmd("FileType", {
|
|||||||
vim.inspect(ev), result))
|
vim.inspect(ev), result))
|
||||||
end
|
end
|
||||||
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
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user