feat(nvim): add new mappings for selecting next and prev item in the cmp cmdline

This commit is contained in:
sankalp committed 2024-02-03 18:46:46 +05:45
1 parent 38e505789d
commit 9b2434f755
4 files changed
+39 -16

No files matched your search

+4
View File
@@ -80,6 +80,10 @@ map("n", "<leader>u<tab>", function()
end
end, { desc = "Toggle Tabline" })
-- Comment box
map("n", "]/", "/\\S\\zs\\s*╭<CR>zt", { desc = "Next block comment" })
map("n", "[/", "?\\S\\zs\\s*╭<CR>zt", { desc = "Prev block comment" })
-- Plugin Info
map("n", "<leader>cif", "<cmd>LazyFormatInfo<cr>", { desc = "Formatting" })
map("n", "<leader>cic", "<cmd>ConformInfo<cr>", { desc = "Conform" })