Update config

This commit is contained in:
Karolis Arbačiauskas 2025-03-09 18:56:07 +02:00
parent de76eeffc4
commit 9678e43efe
9 changed files with 128 additions and 11 deletions

View file

@ -0,0 +1,29 @@
return {
'rgroli/other.nvim',
lazy = false,
config = function()
require('other-nvim').setup {
mappings = {
'golang',
{ pattern = '/app/(.*)/(.*).rb', target = { { context = 'test', target = '/spec/%1/%2_spec.rb' } } },
{ pattern = '(.+)/spec/(.*)/(.*)_spec.rb', target = { { target = '%1/app/%2/%3.rb' } } },
},
}
end,
keys = {
{
'<leader>to',
function()
require('other-nvim').open()
end,
mode = 'n',
},
{
'<leader>tO',
function()
require('other-nvim').openVSplit()
end,
mode = 'n',
},
},
}