update
This commit is contained in:
@@ -28,3 +28,17 @@ map("", "<leader>dus", function()
|
||||
local sidebar = widgets.sidebar(widgets.scopes)
|
||||
sidebar.open()
|
||||
end, { desc = "Open debugging Window" })
|
||||
|
||||
-- Movement
|
||||
map("n", "<C-d>", "<c-d>zz", { noremap = true })
|
||||
map("n", "<C-u>", "<c-u>zz", { noremap = true })
|
||||
map("n", "n", "nzzzv", { noremap = true })
|
||||
map("n", "N", "Nzzzv", { noremap = true })
|
||||
|
||||
-- Powershell
|
||||
map("n", "<leader>E", function()
|
||||
require("powershell").eval()
|
||||
end, { noremap = true })
|
||||
map("n", "<leader>P", function()
|
||||
require("powershell").toggle_term()
|
||||
end, { noremap = true })
|
||||
|
||||
@@ -61,7 +61,20 @@ return {
|
||||
{
|
||||
"tpope/vim-fugitive",
|
||||
},
|
||||
-- Golang
|
||||
{
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
opts = {
|
||||
filters = {
|
||||
enable = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"TheLeoP/powershell.nvim",
|
||||
opts = {
|
||||
bundle_path = vim.fn.stdpath "data" .. "/man/packages/powershell-editor-services",
|
||||
},
|
||||
},
|
||||
{
|
||||
"olexsmir/gopher.nvim",
|
||||
ft = "go",
|
||||
@@ -72,7 +85,17 @@ return {
|
||||
vim.cmd [[silent! GoInstallDeps]]
|
||||
end,
|
||||
},
|
||||
-- Dap
|
||||
{
|
||||
"dreamsofcode-io/nvim-dap-go",
|
||||
ft = "go",
|
||||
dependencies = {
|
||||
"mfussenegger/nvim-dap",
|
||||
"rcarriga/nvim-dap-ui",
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("dap-go").setup(opts)
|
||||
end,
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
},
|
||||
@@ -97,16 +120,4 @@ return {
|
||||
end
|
||||
end,
|
||||
},
|
||||
{
|
||||
"dreamsofcode-io/nvim-dap-go",
|
||||
ft = "go",
|
||||
dependencies = {
|
||||
"mfussenegger/nvim-dap",
|
||||
"rcarriga/nvim-dap-ui",
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("dap-go").setup(opts)
|
||||
-- require("core.utils").load_mappings "dap_go"
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user