|
|
@ -31,6 +31,8 @@ vim.keymap.set({ "n", "v" }, "<leader>y", [["+y]]) |
|
|
|
vim.keymap.set("n", "<leader>Y", [["+Y]]) |
|
|
|
vim.keymap.set("n", "<leader>x", "<cmd>!chmod +x %<CR>", { silent = true }) |
|
|
|
vim.keymap.set("n", "<leader>X", "<cmd>!chmod -x %<CR>", { silent = true }) |
|
|
|
-- execute file |
|
|
|
vim.keymap.set("n", "<leader>e", "<cmd>!%:p<CR>", { silent = true }) |
|
|
|
|
|
|
|
vim.keymap.set("n", "<leader>vc", "<cmd>e ~/.config/nvim<CR>"); |
|
|
|
vim.keymap.set("n", "<leader>vz", "<cmd>e ~/.zshrc<CR>"); |
|
|
|