neovim configuration using rocks.nvim plugin manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(keymaps): repeat by shiftwidth on zh/zl

yes I'm genius

+3
+3
lua/core/keymaps.lua
··· 43 43 vim.keymap.set("x", "J", ":m '>+1<cr>gv=gv", { silent = true, desc = "Move down" }) 44 44 vim.keymap.set("x", "K", ":m '<-2<cr>gv=gv", { silent = true, desc = "Move up" }) 45 45 46 + vim.keymap.set("n", "zh", "string(shiftwidth()) . 'zh'", { expr = true }) 47 + vim.keymap.set("n", "zl", "string(shiftwidth()) . 'zl'", { expr = true }) 48 + 46 49 -- diagnostics 47 50 vim.keymap.set("n", "<leader>cd", vim.diagnostic.open_float, { desc = "Line Diagnostics" }) 48 51 if vim.fn.has("nvim-0.11") == 0 then