1
0
Fork 0
This commit is contained in:
Luca Bilke 2024-03-10 02:28:56 +01:00
parent 96280ace7b
commit df99a2e698
1 changed files with 3 additions and 2 deletions

View File

@ -82,8 +82,8 @@ M.maps = function()
maps.n["<C-j>"] = { "<C-w>j", desc = "Move to below split" }
maps.n["<C-k>"] = { "<C-w>k", desc = "Move to above split" }
maps.n["<C-l>"] = { "<C-w>l", desc = "Move to right split" }
maps.n["<C-Up>"] = { "<Cmd>resize -2<CR>", desc = "Resize split up" }
maps.n["<C-Down>"] = { "<Cmd>resize +2<CR>", desc = "Resize split down" }
maps.n["<C-Up>"] = { "<Cmd>resize +2<CR>", desc = "Resize split up" }
maps.n["<C-Down>"] = { "<Cmd>resize -2<CR>", desc = "Resize split down" }
maps.n["<C-Left>"] = { "<Cmd>vertical resize -2<CR>", desc = "Resize split left" }
maps.n["<C-Right>"] = { "<Cmd>vertical resize +2<CR>", desc = "Resize split right" }
-- NOTE: These don't make sense when predominantly using floating terminals
@ -681,6 +681,7 @@ M.maps = function()
function()
vim.ui.input({ prompt = "Expression: " }, function(expr)
if expr then
---@diagnostic disable-next-line: missing-fields
require("dapui").eval(expr, { enter = true })
end
end)