Adding json plugins

This commit is contained in:
Dimitar Ivanov 2023-09-18 12:50:25 +03:00 committed by Dimitar Ivanov
parent 269c3eeaba
commit 7548d9147d
1 changed files with 8 additions and 1 deletions

View File

@ -123,7 +123,10 @@ require('lazy').setup({
}, },
-- Useful plugin to show you pending keybinds. -- Useful plugin to show you pending keybinds.
{ 'folke/which-key.nvim', opts = {} }, { 'folke/which-key.nvim', opts = {} },
-- JQ integration
{ 'gennaro-tedesco/nvim-jqx', ft = { "json", "yaml" } }, -- Qs with integrations
{ 'mogelbrod/vim-jsonpath', ft = { "json", "yaml" } }, -- Shows current JSON path
{ {
-- Adds git related signs to the gutter, as well as utilities for managing changes -- Adds git related signs to the gutter, as well as utilities for managing changes
'lewis6991/gitsigns.nvim', 'lewis6991/gitsigns.nvim',
@ -771,6 +774,10 @@ vim.opt.guicursor =
vim.keymap.set("n", "Q", "<nop>") vim.keymap.set("n", "Q", "<nop>")
vim.keymap.set("n", "W", "<nop>") vim.keymap.set("n", "W", "<nop>")
-- JsonPath
vim.keymap.set("n", "<Leader>json", ":JsonPath<CR>")
vim.keymap.set("n", "<Leader>qjson", ":JsonPath ")
-- VBAll -- VBAll
vim.api.nvim_command("ca vball vertical ball") vim.api.nvim_command("ca vball vertical ball")