Add S-Tab mapping to outdent
Update Copilot to use C-a to accept change to avoid conflict with `Tab` for indenting
This commit is contained in:
parent
e8c74fafe4
commit
2f76742b1c
2 changed files with 9 additions and 0 deletions
|
@ -34,6 +34,7 @@ require("config.lazy")
|
|||
vim.keymap.set("n", "<leader>r", ":source %<CR>", { desc = "Reload Config" })
|
||||
vim.keymap.set("n", "<leader>bs", ":vsplit<CR>", { desc = "Vertical Split" })
|
||||
vim.keymap.set("n", "<leader>vm", ":lua vim.diagnostic.open_float()<CR>", { desc = "Show Diagnostic Message" })
|
||||
vim.api.nvim_set_keymap('i', '<S-Tab>', '<C-d>', { noremap = true, silent = true })
|
||||
|
||||
-- remap yank to system clipboard
|
||||
vim.keymap.set("n", "<leader>y", '"+y', { desc = "Yank to Clipboard" })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue