mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 00:49:01 +02:00
enc: database key mappings
This commit is contained in:
parent
384c0b5768
commit
ec3ec5ea1e
3 changed files with 23 additions and 14 deletions
|
@ -282,19 +282,19 @@ if pcode.codeium then
|
|||
table.insert(M.mappings, { ["c"] = { ":call codeium#Chat()<cr>", " Codeium Chat" } })
|
||||
end
|
||||
|
||||
if pcode.database then
|
||||
table.insert(M.mappings, {
|
||||
["D"] = {
|
||||
name = " DBUI",
|
||||
-- d = { "<cmd>NvimTreeClose<cr><cmd>tabnew<cr><bar><bar><cmd>DBUI<cr>", " DBUI Open" },
|
||||
d = { "<cmd>Alpha<cr><cmd>NvimTreeClose<cr><cmd>DBUI<cr>", " DBUI Open" },
|
||||
q = {
|
||||
"<cmd>DBUIClose<cr><cmd>BufferLineCloseOthers<cr><cmd>bd!<cr><cmd>lua require('user.utils.bufferline').bufremove()<cr><cmd>Alpha<cr>",
|
||||
" DBUI Close",
|
||||
},
|
||||
},
|
||||
})
|
||||
end
|
||||
-- if pcode.database then
|
||||
-- table.insert(M.mappings, {
|
||||
-- ["D"] = {
|
||||
-- name = " DBUI",
|
||||
-- -- d = { "<cmd>NvimTreeClose<cr><cmd>tabnew<cr><bar><bar><cmd>DBUI<cr>", " DBUI Open" },
|
||||
-- d = { "<cmd>Alpha<cr><cmd>NvimTreeClose<cr><cmd>DBUI<cr>", " DBUI Open" },
|
||||
-- q = {
|
||||
-- "<cmd>DBUIClose<cr><cmd>BufferLineCloseOthers<cr><cmd>bd!<cr><cmd>lua require('user.utils.bufferline').bufremove()<cr><cmd>Alpha<cr>",
|
||||
-- " DBUI Close",
|
||||
-- },
|
||||
-- },
|
||||
-- })
|
||||
-- end
|
||||
|
||||
M.mappings2 = {
|
||||
["/"] = { "<esc><cmd>lua require('Comment.api').toggle.linewise(vim.fn.visualmode())<cr>", " Commet Block" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue