This commit is contained in:
Dominic 2025-03-22 09:47:46 -04:00
parent f580160831
commit 53bb1493e4
2 changed files with 4 additions and 5 deletions

View File

@ -21,7 +21,7 @@ require("lazy").setup({
{ import = "lazyvim.plugins.extras.lang.json" }, { import = "lazyvim.plugins.extras.lang.json" },
{ import = "lazyvim.plugins.extras.ui.mini-animate" }, { import = "lazyvim.plugins.extras.ui.mini-animate" },
{ import = "lazyvim.plugins.extras.lang.typescript" }, { import = "lazyvim.plugins.extras.lang.typescript" },
{ import = "lazyvim.plugins.extras.formatting.prettier" }, -- { import = "lazyvim.plugins.extras.formatting.prettier" },
-- import/override with your plugins -- import/override with your plugins
{ import = "plugins" }, { import = "plugins" },
@ -56,5 +56,3 @@ require("lazy").setup({
}, },
}, },
}) })

View File

@ -11,9 +11,10 @@ map("n", "<A-j>", ":m .+1<CR>==") -- move line up(n)
map("n", "<A-k>", ":m .-2<CR>==") -- move line down(n) map("n", "<A-k>", ":m .-2<CR>==") -- move line down(n)
map("v", "<A-j>", ":m '>+1<CR>gv=gv") -- move line up(v) map("v", "<A-j>", ":m '>+1<CR>gv=gv") -- move line up(v)
map("v", "<A-k>", ":m '<-2<CR>gv=gv") -- move line down(v) map("v", "<A-k>", ":m '<-2<CR>gv=gv") -- move line down(v)
map("n", "<A-d>", "yyp") -- copy line below map("n", "<A-d>", "yyp") -- copy line below
map("n", "<j-q>", ":%!jq '.'") -- format json map("n", "<j-q>", ":%!jq '.'") -- format json
-- theme options -- theme options
vim.o.background='dark' vim.o.background = "dark"
vim.g.autoformat = false