Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

hop

URL: https://github.com/smoka7/hop.nvim/

Maintainers: Gaetan Lepage


A plugin allowing you to jump anywhere in a document with as few keystrokes as possible.


Hop doesn’t set any keybindings; you will have to define them by yourself. If you want to create a key binding from within nixvim:

keymaps = [ { key = "f"; action.__raw = \'\' function() require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.AFTER_CURSOR, current_line_only = true }) end \'\'; options.remap = true; } { key = "F"; action.__raw = \'\' function() require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.BEFORE_CURSOR, current_line_only = true }) end \'\'; options.remap = true; } { key = "t"; action.__raw = \'\' function() require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.AFTER_CURSOR, current_line_only = true, hint_offset = -1 }) end \'\'; options.remap = true; } { key = "T"; action.__raw = \'\' function() require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.BEFORE_CURSOR, current_line_only = true, hint_offset = 1 }) end \'\'; options.remap = true; } ];

plugins.hop.enable

Whether to enable hop.

Type: boolean

Default: false

Example: true

Declared by:

plugins.hop.package

The hop package to use.

Type: package

Default: pkgs.vimPlugins.hop-nvim

Declared by:

plugins.hop.autoLoad

Whether to automatically load hop when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by: