|
@@ -46,6 +46,10 @@ vim.keymap.set('n', '<Leader>to', '<cmd>term<CR>', opts)
|
|
|
-- delete buffer
|
|
|
vim.keymap.set('n', '<Leader>q', '<cmd>lua MiniBufremove.delete()<CR>', opts)
|
|
|
|
|
|
+-- split/join
|
|
|
+vim.keymap.set('n', '<Leader>s', '<cmd>TSJSplit<CR>', opts)
|
|
|
+vim.keymap.set('n', '<Leader>j', '<cmd>TSJJoin<CR>', opts)
|
|
|
+
|
|
|
-- diagnostics
|
|
|
vim.keymap.set('n', '<space>e', '<cmd>lua vim.diagnostic.open_float()<CR>', opts)
|
|
|
vim.keymap.set('n', '[d', '<cmd>lua vim.diagnostic.goto_prev()<CR>', opts)
|