diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-07-15 22:49:28 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-07-15 22:49:28 +0200 |
| commit | f3692dd749a6215ccbbcca04c8346186fe0359cf (patch) | |
| tree | 3937be61a7bebeb3ebf53ed19547c43b335697eb /lua | |
| parent | 9aea96f6f267c9924462a7ff88e7361ccf736ce7 (diff) | |
| download | nvim-conf-f3692dd749a6215ccbbcca04c8346186fe0359cf.tar.gz nvim-conf-f3692dd749a6215ccbbcca04c8346186fe0359cf.zip | |
Add hydra and replace movements keybingins
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/alpha/dap.lua | 2 | ||||
| -rw-r--r-- | lua/alpha/plugins.lua | 11 |
2 files changed, 10 insertions, 3 deletions
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 = "<leader>dd", rhs = dap.continue }, { mode = "n", lhs = "<leader>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) |