fix(remap.lua): change keymap for selecting all text from <leader>a to <C-a> to

avoid conflicts with other keybindings and improve usability.
This commit is contained in:
David Ibia
2024-02-18 02:48:58 +01:00
parent b26965f4d2
commit 50368bc5c7

View File

@@ -7,7 +7,7 @@ opts.desc = "Show Keymap"
vim.keymap.set("n", "<leader>?", "<cmd>Telescope keymaps<CR>", opts) -- toggle file explorer
opts.desc = "Select All"
vim.keymap.set("n", "<leader>a", "gg0vG$", opts) -- select all
vim.keymap.set("n", "<C-a>", "gg0vG$", opts) -- select all
-- Move selected line / block of text in visual mode up
opts.desc = "Move selected line / block of text in visual mode up"