Skip to content

Editing/Movement Plugins

This page describes plugins related to text editing and movement.

leap.nvim

Provides fast text movement.

Configuration file: lua/peinan/plugins/leap.lua

Dependencies:

  • vim-repeat

Main features:

  • Fast jumping with 2-character input
  • Forward and backward jumping
  • Visual mode support

Keymaps:

  • s - Forward jump
  • S - Backward jump

Configuration:

lua
require("leap")
require("peinan.keymaps.init").leap()

Usage:

  1. Press s or S
  2. Enter 2 characters for the position you want to jump to
  3. Jump to the matching position

This plugin allows faster movement between text than traditional / search.

Neovim Configuration Documentation