mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
nvim: cmap, blink cmp TAB
This commit is contained in:
parent
ab6da08e74
commit
db68f9d460
2 changed files with 32 additions and 0 deletions
18
home/dot_config/nvim/lua/keymaps/cmap.lua
Normal file
18
home/dot_config/nvim/lua/keymaps/cmap.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
local M = {
|
||||
{
|
||||
keys = "<C-A>",
|
||||
cmd = "<Home>",
|
||||
opts = { desc = "Command-line beginning", silent = true },
|
||||
},
|
||||
{
|
||||
keys = "<C-E>",
|
||||
cmd = "<End>",
|
||||
opts = { desc = "Command-line end", silent = true },
|
||||
},
|
||||
}
|
||||
|
||||
for _, map in ipairs(M) do
|
||||
map.mode = "c"
|
||||
end
|
||||
|
||||
return M
|
||||
Loading…
Add table
Add a link
Reference in a new issue