From f3692dd749a6215ccbbcca04c8346186fe0359cf Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Fri, 15 Jul 2022 22:49:28 +0200 Subject: Add hydra and replace movements keybingins --- lua/alpha/dap.lua | 2 ++ lua/alpha/plugins.lua | 11 ++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'lua') diff --git a/lua/alpha/dap.lua b/lua/alpha/dap.lua index c0df3c8..326ab60 100644 --- a/lua/alpha/dap.lua +++ b/lua/alpha/dap.lua @@ -57,6 +57,8 @@ end -- run dap continue and enable the keybindings -- when finish delete all keybindings +-- TODO create a hydra for debug + local bindings = { { mode = "n", lhs = "dd", rhs = dap.continue }, { mode = "n", lhs = "dbp", rhs = dap.toggle_breakpoint }, diff --git a/lua/alpha/plugins.lua b/lua/alpha/plugins.lua index c8c7a1b..6ffaf53 100644 --- a/lua/alpha/plugins.lua +++ b/lua/alpha/plugins.lua @@ -76,8 +76,8 @@ return require("packer").startup(function(use) "hrsh7th/cmp-path", "hrsh7th/cmp-nvim-lua", "hrsh7th/cmp-nvim-lsp", - "hrsh7th/cmp-cmdline", - "hrsh7th/cmp-git", + "hrsh7th/cmp-cmdline", + "hrsh7th/cmp-git", "saadparwaiz1/cmp_luasnip", "onsails/lspkind-nvim", "L3MON4D3/LuaSnip", @@ -126,7 +126,7 @@ return require("packer").startup(function(use) use({ "leoluz/nvim-dap-go", requires = { - "theHamsta/nvim-dap-virtual-text", + "theHamsta/nvim-dap-virtual-text", "rcarriga/nvim-dap-ui", "mfussenegger/nvim-dap", { "Pocco81/DAPInstall.nvim", branch = "dev" }, @@ -205,4 +205,9 @@ return require("packer").startup(function(use) use("habamax/vim-godot") use("junegunn/vim-easy-align") + + use({ + "anuvyklack/hydra.nvim", + requires = "anuvyklack/keymap-layer.nvim", -- needed only for pink hydras + }) end) -- cgit v1.2.3