removed old keymaps from keymap.lua and ported them to the specific plugin files

This commit is contained in:
piecka 2024-09-04 10:53:55 +02:00
parent 17540ab4bf
commit f26a884830
5 changed files with 57 additions and 79 deletions

View file

@ -1,13 +1,15 @@
return {
"derektata/lorem.nvim",
config = function()
require("lorem").setup({
sentenceLength = { -- custom configuration
words_per_sentence = 6,
sentences_per_paragraph = 4,
},
comma_chance = 0.3, -- 30% chance to insert a comma
max_commas_per_sentence = 2, -- maximum 2 commas per sentence
})
end,
"derektata/lorem.nvim",
config = function()
require("lorem").setup({
sentenceLength = { -- custom configuration
words_per_sentence = 6,
sentences_per_paragraph = 4,
},
comma_chance = 0.3, -- 30% chance to insert a comma
max_commas_per_sentence = 2, -- maximum 2 commas per sentence
})
end,
-- ─< LoremIpsum generator >────────────────────────────────────────────────────────────
vim.keymap.set("n", "<leader>L", ":LoremIpsum ")
}