feat: Reasonix sessions isolated per project dir (.reasonix-state)
This commit is contained in:
parent
36e420f868
commit
4b63cf2194
|
|
@ -23,7 +23,10 @@ return {
|
|||
G.map({
|
||||
{ 'n', '<c-t>', Q.shell, { noremap = true } },
|
||||
{ 'i', '<c-t>', Q.shell, { noremap = true } },
|
||||
{ 'n', '<C-i>', function() Q.open('reasonix chat --continue') end, { noremap = true } },
|
||||
{ 'n', '<C-i>', function()
|
||||
local cwd = vim.fn.getcwd()
|
||||
Q.open('env XDG_STATE_HOME=' .. cwd .. '/.reasonix-state reasonix chat --continue')
|
||||
end, { noremap = true } },
|
||||
{ 'n', '<leader>gg', function() Q.open('lazygit') end, { noremap = true } },
|
||||
})
|
||||
end,
|
||||
|
|
|
|||
Loading…
Reference in New Issue