greatest remaps ever from ThePrimeagen

This commit is contained in:
krolyxon 2023-01-02 10:35:00 +05:30
parent 7598057202
commit d2bf6253eb
1 changed files with 6 additions and 2 deletions

View File

@ -24,13 +24,17 @@ M.general = {
["<leader>d"] = { "\"_d", "delete without copying into clipboard" },
-- motion keybinds
["<C-d"] = { "<C-d>zz", "move forward half page" },
["<C-u"] = { "<C-u>zz", "move backward half page" },
["<C-d>"] = { "<C-d>zz", "move forward half page" },
["<C-u>"] = { "<C-u>zz", "move backward half page" },
["n"] = { "nzzzv" },
["N"] = { "Nzzzv" },
["<leader>pv"] = { "<cmd> Ex <CR>", "File Tree" },
["<leader>ex"] = { "<cmd>!chmod +x %<CR>", "Make the current buffer script executable", opts = { silent = true } },
["<leader>s"] = { [[:%s/\<<C-r><C-w>\>/<C-r><C-w>/gI<Left><Left><Left>]] },
},
v = {