mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
update
This commit is contained in:
parent
d4fc7e2249
commit
6b6107d8d2
13 changed files with 83 additions and 18 deletions
|
|
@ -35,9 +35,8 @@ end
|
|||
|
||||
if get_system_theme() == 'dark' then
|
||||
vim.o.background = 'dark'
|
||||
vim.cmd.colorscheme("catppuccin")
|
||||
vim.cmd.colorscheme("rose-pine")
|
||||
else
|
||||
vim.o.background = 'light'
|
||||
-- vim.cmd.colorscheme("rose-pine")
|
||||
vim.cmd.colorscheme("catppuccin")
|
||||
vim.cmd.colorscheme("rose-pine")
|
||||
end
|
||||
|
|
|
|||
|
|
@ -38,6 +38,9 @@ local bufmap = {
|
|||
sh = {
|
||||
{ mode = "n", keys = "<leader>mx", cmd = "<cmd>!chmod u+x %<CR>", opt = { desc = "Mark the file as executable" } },
|
||||
},
|
||||
json = {
|
||||
{ mode = "n", keys ="<leader>mp", cmd = "<cmd>%!jq", opt = { desc = "Prettify json"} }
|
||||
},
|
||||
}
|
||||
|
||||
-- Shallow copy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue