mirror of
https://github.com/macocianradu/setup.git
synced 2026-07-16 10:38:46 +00:00
added snacks terminal handling
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
local neogit = require('neogit')
|
||||
|
||||
vim.keymap.set("n", "<leader>gs", function()
|
||||
neogit.open({ kind= "floating" })
|
||||
neogit.open()
|
||||
end
|
||||
)
|
||||
|
||||
@@ -86,5 +86,9 @@ local function toggle_term(fullscreen)
|
||||
end
|
||||
end
|
||||
|
||||
vim.keymap.set({ "n", "t" }, "<leader>tt", function() toggle_term(false) end, { desc = "Terminal (split)" })
|
||||
vim.keymap.set({ "n", "t" }, "<leader>tT", function() toggle_term(true) end, { desc = "Terminal (fullscreen)" })
|
||||
vim.keymap.set("n", "<leader>tt", function() toggle_term(false) end, { desc = "Terminal (split)" })
|
||||
vim.keymap.set("n", "<leader>tT", function() toggle_term(true) end, { desc = "Terminal (fullscreen)" })
|
||||
vim.keymap.set("t", "<C-t>", function()
|
||||
local w = find_term_win()
|
||||
if w then vim.api.nvim_win_close(w, true) end
|
||||
end, { desc = "Hide terminal" })
|
||||
|
||||
@@ -5,7 +5,7 @@ local M = {}
|
||||
-- Adapter (netcoredbg)
|
||||
dap.adapters.coreclr = {
|
||||
type = "executable",
|
||||
command = "/home/radu/.local/share/nvim/mason/bin/netcoredbg",
|
||||
command = vim.fn.expand("$HOME/.local/share/nvim/mason/bin/netcoredbg"),
|
||||
args = { "--interpreter=vscode" },
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user