feat(plugins): Add nvim-dap and overseer
Added: - [nvim-dap](https://github.com/mfussenegger/nvim-dap) - [nvim-dap-ui](https://github.com/rcarriga/nvim-dap-ui) - [overseer.nvim](https://github.com/stevearc/overseer.nvim) Removed: - NeoTree `<leader>o` keymap (it's now used for overseer)
This commit is contained in:
parent
65dea4ed80
commit
e256516fe7
6 changed files with 153 additions and 17 deletions
nvim/plugin
|
@ -299,12 +299,12 @@ require("neo-tree").setup({
|
|||
vim.cmd([[nnoremap \ :Neotree reveal<cr>]])
|
||||
|
||||
vim.keymap.set('n', '<leader>e', '<Cmd>Neotree toggle<CR>', { desc = 'toggle explorer' })
|
||||
vim.keymap.set('n', '<leader>o',
|
||||
function()
|
||||
if vim.bo.filetype == "neo-tree" then
|
||||
vim.cmd.wincmd "p"
|
||||
else
|
||||
vim.cmd.Neotree "focus"
|
||||
end
|
||||
end,
|
||||
{ desc = "toggle explorer focus" })
|
||||
-- vim.keymap.set('n', '<leader>o',
|
||||
-- function()
|
||||
-- if vim.bo.filetype == "neo-tree" then
|
||||
-- vim.cmd.wincmd "p"
|
||||
-- else
|
||||
-- vim.cmd.Neotree "focus"
|
||||
-- end
|
||||
-- end,
|
||||
-- { desc = "toggle explorer focus" })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue