feat(nvim): map <S-Space> to <Space> in terminals
This commit is contained in:
parent
395bf77a2c
commit
007c26e3aa
@ -73,6 +73,10 @@ M.setup = function()
|
|||||||
vim.api.nvim_feedkeys(spaces, "m", false)
|
vim.api.nvim_feedkeys(spaces, "m", false)
|
||||||
end
|
end
|
||||||
end, { silent = true, desc = "Insert Literal Tab" })
|
end, { silent = true, desc = "Insert Literal Tab" })
|
||||||
|
|
||||||
|
-- Binding to keep S-Space in terminals from not sending <Space>
|
||||||
|
vim.keymap.set("t", "<S-Space>", "<Space>",
|
||||||
|
{ silent = true, desc = "Terminal: Hack S-Space to Space" })
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
Loading…
Reference in New Issue
Block a user