refactor: QQdock as proper plugin module (lua/QQdock/init.lua)

This commit is contained in:
QQ 2026-06-11 19:31:07 +08:00
parent 7884551a26
commit a615ae1bb7
2 changed files with 3 additions and 2 deletions

View File

@ -38,8 +38,9 @@ G.map({
{ 'n', '<right>', ':vertical resize +5<CR>' }, { 'n', '<right>', ':vertical resize +5<CR>' },
}) })
-- 终端 / Reasonix / lazygitaddons/QQdock持久化 + 自适应分屏) -- 终端 / Reasonix / lazygitQQdock.nvim持久化 + 自适应分屏)
local Q = require('addons.QQdock') -- TODO: 根分区恢复读写后改为 lazy spec 引用 git.qyhhh.top/newbie/QQdock.nvim删本地 lua/QQdock/
local Q = require('QQdock')
G.map({ G.map({
{ 'n', '<c-t>', Q.shell, { noremap = true } }, { 'n', '<c-t>', Q.shell, { noremap = true } },
{ 'i', '<c-t>', Q.shell, { noremap = true } }, { 'i', '<c-t>', Q.shell, { noremap = true } },