From 39326c94143dc57481fb833be96b897d307ebe38 Mon Sep 17 00:00:00 2001 From: Von Random Date: Wed, 13 Nov 2024 13:51:32 +0200 Subject: [PATCH] nvim: add hop plugin --- cli/.config/nvim/lua/plugins.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/.config/nvim/lua/plugins.lua b/cli/.config/nvim/lua/plugins.lua index 67e8ec1..982537b 100644 --- a/cli/.config/nvim/lua/plugins.lua +++ b/cli/.config/nvim/lua/plugins.lua @@ -9,6 +9,7 @@ vim.opt.rtp:prepend(lazypath) require('lazy').setup { {'ellisonleao/gruvbox.nvim', priority = 1000, config = true}, {'w0rp/ale', cmd = 'ALEEnable', ft = {'bash', 'go', 'lua', 'python', 'sh', 'zsh'}}, + 'smoka7/hop.nvim', 'kdheepak/lazygit.nvim', 'nvim-telescope/telescope.nvim', 'nvim-treesitter/nvim-treesitter', @@ -21,6 +22,7 @@ require('lazy').setup { } --[[ plugin configs and maps ]] +require('hop').setup() require('gitsigns').setup() require('gruvbox').setup { italic = {strings = false}, @@ -39,6 +41,7 @@ require('lualine').setup { } } +map('n', 'f', 'HopWord') map('n', 'g', 'LazyGit') map('n', 'L', 'Lazy') map('n', '?', 'Cheat40')