all repos

init.lua @ be4dfefdffafcd00f7a68c3972804ef9740353a9

my nvim config
2 files changed, 26 insertions(+), 0 deletions(-)
feat(plgins): add `hop.nvim`
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2022-09-09 14:15:22 +0300
Parent: 0a11b47
A lua/configs/hop.lua

@@ -0,0 +1,17 @@

+local hop = require "hop" +local map = require("core.utils").map + +hop.setup {} + +map("n", "f", function() + hop.hint_char1() +end) +map("n", "F", function() + hop.hint_char2() +end) +map("n", "<localleader>f", function() + hop.hint_lines_skip_whitespace() +end) +map("n", "<localleader>F", function() + hop.hint_lines() +end)
M lua/plugins.lua

@@ -84,6 +84,15 @@ { "p00f/nvim-ts-rainbow", after = "nvim-treesitter" },

}, } + -- fast movment + use { + "phaazon/hop.nvim", + branch = "v2", + module = "hop", + keys = { "f", "F", ",f" }, + config = u.get.config "hop", + } + -- '(lisp) use { "Olical/conjure",