mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
nh: nix-helper
This commit is contained in:
parent
d12c5d5e4e
commit
8a266783a2
9 changed files with 52 additions and 3 deletions
8
home/dot_config/nvim/ftplugin/json.lua
Normal file
8
home/dot_config/nvim/ftplugin/json.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
vim.keymap.set("n", "<leader>mp", '<cmd>!jq<CR>', {
|
||||
desc = "Pretiffy json",
|
||||
buffer = true
|
||||
})
|
||||
vim.keymap.set("i", "<C-m>p", '<cmd>%!jq<CR>', {
|
||||
desc = "Pretiffy json",
|
||||
buffer = true
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue