ggandor/flit.nvim

Enhanced f/t motions for Leap

Lua

411

48 commits

updated Oct 9, 2025

See the code

README

Deprecation notice

This plugin is not maintained by the author anymore. To get the same functionality from Leap, see :help leap-ft.

flit.nvim

f/F/t/T motions on steroids, building on the Leap interface.

showcase

Features

  • labeled targets (opt-in for all modes)
  • clever-f style repeat, with the trigger key itself
  • multiline scope (opt-out)
  • follow ignorecase/smartcase

Status

WIP

Requirements

Setup

setup is mandatory to call, but no arguments are necessary, if the defaults are okay:

require('flit').setup {
  keys = { f = 'f', F = 'F', t = 't', T = 'T' },
  -- A string like "nv", "nvo", "o", etc.
  labeled_modes = "v",
  -- Repeat with the trigger key itself.
  clever_repeat = true,
  multiline = true,
  -- Like `leap`s similar argument (call-specific overrides).
  -- E.g.: opts = { equivalence_classes = {} }
  opts = {}
}

Contributors

ggandor

43 commits

tmwatchanan

2 commits

j-hui

1 commits

shaksiper

1 commits

ggandor/flit.nvim

Enhanced f/t motions for Leap

Lua

411

48 commits

updated Oct 9, 2025

See the code

README

Deprecation notice

This plugin is not maintained by the author anymore. To get the same functionality from Leap, see :help leap-ft.

flit.nvim

f/F/t/T motions on steroids, building on the Leap interface.

showcase

Features

  • labeled targets (opt-in for all modes)
  • clever-f style repeat, with the trigger key itself
  • multiline scope (opt-out)
  • follow ignorecase/smartcase

Status

WIP

Requirements

Setup

setup is mandatory to call, but no arguments are necessary, if the defaults are okay:

require('flit').setup {
  keys = { f = 'f', F = 'F', t = 't', T = 'T' },
  -- A string like "nv", "nvo", "o", etc.
  labeled_modes = "v",
  -- Repeat with the trigger key itself.
  clever_repeat = true,
  multiline = true,
  -- Like `leap`s similar argument (call-specific overrides).
  -- E.g.: opts = { equivalence_classes = {} }
  opts = {}
}

Contributors

ggandor

43 commits

tmwatchanan

2 commits

j-hui

1 commits

shaksiper

1 commits

Languages

Lua

100.0%