refactor: QQdock as proper plugin module (lua/QQdock/init.lua)
This commit is contained in:
parent
7884551a26
commit
a615ae1bb7
|
|
@ -38,8 +38,9 @@ G.map({
|
||||||
{ 'n', '<right>', ':vertical resize +5<CR>' },
|
{ 'n', '<right>', ':vertical resize +5<CR>' },
|
||||||
})
|
})
|
||||||
|
|
||||||
-- 终端 / Reasonix / lazygit(addons/QQdock:持久化 + 自适应分屏)
|
-- 终端 / Reasonix / lazygit(QQdock.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 } },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue