refactor(nvim): remap PIM toggle from r to x
Removes the old x → DBUI_ExecuteQuery binding to free the key. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>main
parent
b1bdb3c540
commit
9db080dc0f
|
|
@ -109,7 +109,6 @@ vim.api.nvim_create_autocmd("FileType", {
|
||||||
vim.keymap.set("n", "t", ":FloatermNew<CR>", { silent = true })
|
vim.keymap.set("n", "t", ":FloatermNew<CR>", { silent = true })
|
||||||
vim.keymap.set("n", "e", ":NERDTreeToggle<CR><C-W>l", { silent = true })
|
vim.keymap.set("n", "e", ":NERDTreeToggle<CR><C-W>l", { silent = true })
|
||||||
vim.keymap.set("n", "s", ":DBUIToggle<CR>", { silent = true })
|
vim.keymap.set("n", "s", ":DBUIToggle<CR>", { silent = true })
|
||||||
vim.keymap.set("n", "x", "<Plug>(DBUI_ExecuteQuery)", { remap = true })
|
|
||||||
vim.keymap.set("n", "q", function()
|
vim.keymap.set("n", "q", function()
|
||||||
local ok = pcall(vim.cmd, "wq")
|
local ok = pcall(vim.cmd, "wq")
|
||||||
if not ok then vim.cmd("q") end
|
if not ok then vim.cmd("q") end
|
||||||
|
|
@ -255,4 +254,4 @@ local function toggle_pim()
|
||||||
vim.api.nvim_set_current_win(w1)
|
vim.api.nvim_set_current_win(w1)
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.keymap.set("n", "r", toggle_pim, { silent = true })
|
vim.keymap.set("n", "x", toggle_pim, { silent = true })
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue