tangled
alpha
login
or
join now
boltless.me
/
nvim_rocks
0
fork
atom
neovim configuration using rocks.nvim plugin manager
0
fork
atom
overview
issues
pulls
pipelines
chore(keymap): remove unnecessary `string()`
Seongmin Lee
10 months ago
a89b8c45
863d20cb
+3
-2
1 changed file
expand all
collapse all
unified
split
lua
core
keymaps.lua
+3
-2
lua/core/keymaps.lua
···
56
56
return 'yy' .. vim.v.count1 .. "gcc']p"
57
57
end, { remap = true, expr = true })
58
58
59
59
-
vim.keymap.set("n", "zh", "string(shiftwidth()) . 'zh'", { expr = true })
60
60
-
vim.keymap.set("n", "zl", "string(shiftwidth()) . 'zl'", { expr = true })
59
59
+
-- TODO: make it work with v:count
60
60
+
vim.keymap.set("n", "zh", "shiftwidth() . 'zh'", { expr = true })
61
61
+
vim.keymap.set("n", "zl", "shiftwidth() . 'zl'", { expr = true })
61
62
62
63
-- diagnostics
63
64
vim.keymap.set("n", "<leader>cd", vim.diagnostic.open_float, { desc = "Line Diagnostics" })