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:
Daniel McKnight 2025-06-09 11:20:11 -07:00
parent e8c74fafe4
commit 2f76742b1c
2 changed files with 9 additions and 0 deletions

View file

@ -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" })