From f57909611ec07d16007f8e2e8be87cad75cd5ff2 Mon Sep 17 00:00:00 2001 From: Felipe Lema Date: Fri, 11 Aug 2023 13:53:13 -0400 Subject: [PATCH] chore: update readme (#25) Co-authored-by: mohsen <36933074+smoka7@users.noreply.github.com> --- README.md | 60 ++++++++++++++++++++++++------------------------------- 1 file changed, 26 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index 80f30649..511b6e8d 100644 --- a/README.md +++ b/README.md @@ -7,18 +7,14 @@ · Neovim motions on speed! ·

- - - - - + + + + +

-

- Install · Wiki · Screenshots · Discuss -

- -**Hop** is an [EasyMotion]-like plugin allowing you to jump anywhere in a +**Hop** is an [EasyMotion](https://github.com/easymotion/vim-easymotion)-like plugin allowing you to jump anywhere in a document with as few keystrokes as possible. It does so by annotating text in your buffer with hints, short string sequences for which each character represents a key to type to jump to the annotated text. Most of the time, @@ -29,30 +25,16 @@ target in your document reachable in a few keystrokes.

- - -* [Motivation](#motivation) -* [Features](#features) -* [Getting started](#getting-started) - * [Installation](#installation) - * [Important note about versioning](#important-note-about-versioning) - * [Using lazy.nvim](#using-lazynvim) - * [Using packer](#using-packer) - * [Nightly users](#nightly-users) -* [Usage](#usage) -* [Keybindings](#keybindings) -* [Chat](#chat) - - +This is a fork of the [original hop.nvim repo](https://github.com/phaazon/hop.nvim) # Motivation -**Hop** is a complete from-scratch rewrite of [EasyMotion], a famous plugin to -enhance the native motions of Vim. Even though [EasyMotion] is usable in +**Hop** is a complete from-scratch rewrite of [EasyMotion](https://github.com/easymotion/vim-easymotion), a famous plugin to +enhance the native motions of Vim. Even though [EasyMotion](https://github.com/easymotion/vim-easymotion) is usable in Neovim, it suffers from a few drawbacks making it not comfortable to use with Neovim version >0.5 – at least at the time of writing these lines: -- [EasyMotion] uses an old trick to annotate jump targets by saving the +- [EasyMotion](https://github.com/easymotion/vim-easymotion) uses an old trick to annotate jump targets by saving the contents of the buffer, replacing it with the highlighted annotations and then restoring the initial buffer after jump. This trick is dangerous as it will change the contents of your buffer. A UI plugin should never do anything @@ -116,9 +98,7 @@ dependency to be sure your config will not break when Hop gets updated. { 'smoka7/hop.nvim', version = "*" - config = function() - require 'hop'.setup() - end, + opts = {}, } ``` @@ -142,7 +122,7 @@ the last one**. If you are not, then you are exposed to compatibility issues / b # Usage -See the [wiki](https://github.com/phaazon/hop.nvim/wiki). +See the [wiki](https://github.com/smoka7/hop.nvim/wiki). # Keybindings @@ -168,6 +148,18 @@ vim.keymap.set('', 'T', function() end, {remap=true}) ``` -# Chat -Join the discussion on the official [Matrix room](https://matrix.to/#/#hop.nvim:matrix.org)! +# Other tools like hop.nvim + +* [sneak.nvim](https://github.com/justinmk/vim-sneak) +* [EasyMotion](https://github.com/easymotion/vim-easymotion) +* [Seek](https://github.com/goldfeld/vim-seek) +* [smalls](https://github.com/t9md/vim-smalls) +* [improvedft](https://github.com/chrisbra/improvedft) +* [clever-f](https://github.com/rhysd/clever-f.vim) +* [vim-extended-ft](https://github.com/svermeulen/vim-extended-ft) +* [Fanf,ingTastic;](https://github.com/dahu/vim-fanfingtastic) +* [IdeaVim-Sneak](https://plugins.jetbrains.com/plugin/15348-ideavim-sneak) +* [leap.nvim](https://github.com/ggandor/leap.nvim) +* [flash.nvim](https://github.com/folke/flash.nvim) +