• Stars
    star
    347
  • Rank 121,727 (Top 3 %)
  • Language
    Lua
  • License
    The Unlicense
  • Created about 2 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Enhanced f/t motions for Leap

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",
  multiline = true,
  -- Like `leap`s similar argument (call-specific overrides).
  -- E.g.: opts = { equivalence_classes = {} }
  opts = {}
}