-- QQdock.nvim — 持久化自适应终端 -- 远程仓库:https://git.qyhhh.top/newbie/QQdock.nvim -- 本地临时副本:lua/QQdock/init.lua(根分区只读期间使用) -- -- 恢复读写后操作: -- 1. 删掉 lua/QQdock/ -- 2. plugs.lua 追加 require('plugs.QQdock') -- 3. keymap.lua 不用改(require('QQdock') 自动找到 lazy 安装的版本) return { { 'newbie/QQdock.nvim', url = 'https://git.qyhhh.top/newbie/QQdock.nvim.git', dependencies = { 'akinsho/toggleterm.nvim' }, config = function() local Q = require('QQdock') pcall(Q.setup, Q, { size = { horizontal = 10, vertical = 40, }, }) G.map({ { 'n', '', Q.shell, { noremap = true } }, { 'i', '', Q.shell, { noremap = true } }, { 'n', '', function() Q.open('reasonix chat --continue') end, { noremap = true } }, { 'n', 'gg', function() Q.open('lazygit') end, { noremap = true } }, }) end, }, }