This repository has been archived by the owner on Dec 19, 2022. It is now read-only.
vim.api.nvim_set_keymap(mode, ..)
is first char of :lua print(vim.api.nvim_get_mode().mode)
and hint that there is a minor mode
#116
Assume the following snippet be in the init.lua
This fails with
E5113: Error while calling lua chunk: $USER/.config/nvim/lua/my_keymaps.lua:534: Shortname is too long: nt
,even though
nvim_get_mode()
provides us with a modent
.I would expect that there is somewhere a lua function for the "visual mode in the terminal" such that one can do keybindings there, if there is an api function that tells us we are in a different mode.see below: "mapping mode is just the first char of nvim_get_mode().mode" info is missing
The text was updated successfully, but these errors were encountered: