Compare commits
3 Commits
main
...
arch-refac
| Author | SHA1 | Date |
|---|---|---|
|
|
1f4388fe17 | |
|
|
4b63cf2194 | |
|
|
36e420f868 |
|
|
@ -13,18 +13,23 @@ return {
|
||||||
url = 'https://git.qyhhh.top/newbie/QQdock.nvim.git',
|
url = 'https://git.qyhhh.top/newbie/QQdock.nvim.git',
|
||||||
dependencies = { 'akinsho/toggleterm.nvim' },
|
dependencies = { 'akinsho/toggleterm.nvim' },
|
||||||
config = function()
|
config = function()
|
||||||
local Q = require('QQdock')
|
require('QQdock').setup({
|
||||||
pcall(Q.setup, Q, {
|
|
||||||
size = {
|
size = {
|
||||||
horizontal = 10,
|
horizontal = 10,
|
||||||
vertical = 40,
|
vertical = 40,
|
||||||
},
|
},
|
||||||
})
|
keymaps = {
|
||||||
G.map({
|
shell = { 'n', '<c-t>' },
|
||||||
{ 'n', '<c-t>', Q.shell, { noremap = true } },
|
shell_i = { 'i', '<c-t>' },
|
||||||
{ 'i', '<c-t>', Q.shell, { noremap = true } },
|
reasonix = { 'n', '<C-i>' },
|
||||||
{ 'n', '<C-i>', function() Q.open('reasonix') end, { noremap = true } },
|
lazygit = { 'n', '<leader>gg' },
|
||||||
{ 'n', '<leader>gg', function() Q.open('lazygit') end, { noremap = true } },
|
},
|
||||||
|
commands = {
|
||||||
|
reasonix = function()
|
||||||
|
local cwd = vim.fn.getcwd()
|
||||||
|
return 'env XDG_STATE_HOME=' .. cwd .. '/.reasonix-state reasonix chat --continue'
|
||||||
|
end,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue