Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ggandor/flit.nvim
Enhanced f/t motions for Leap
https://github.com/ggandor/flit.nvim
Last synced: about 2 months ago
JSON representation
Enhanced f/t motions for Leap
- Host: GitHub
- URL: https://github.com/ggandor/flit.nvim
- Owner: ggandor
- License: unlicense
- Created: 2022-08-20T09:19:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T11:35:38.000Z (about 2 months ago)
- Last Synced: 2024-04-08T12:41:51.784Z (about 2 months ago)
- Language: Lua
- Homepage:
- Size: 53.7 KB
- Stars: 332
- Watchers: 4
- Forks: 13
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Lists
- awesome-neovim - ggandor/flit.nvim - Enhanced f/t motions for Leap. (Motion / GitHub)
- awesome-stars - ggandor/flit.nvim - Enhanced f/t motions for Leap (Lua)
- awesome-stars - flit.nvim
- awesome-stars - flit.nvim
- awesome-stars - ggandor/flit.nvim - Enhanced f/t motions for Leap (Lua)
- awesome-neovim - ggandor/flit.nvim - Enhanced f/t motions for Leap. (Motion / GitHub)
- awesome-neovim - ggandor/flit.nvim - Enhanced f/t motions for Leap. (Motion / GitHub)
README
# flit.nvim
`f`/`F`/`t`/`T` motions on steroids, building on the
[Leap](https://github.com/ggandor/leap.nvim) interface.![showcase](../media/showcase.gif?raw=true)
## Features
* labeled targets (opt-in for all modes)
* [clever-f](https://github.com/rhysd/clever-f.vim) style repeat, with the
trigger key itself
* multiline scope (opt-out)
* follow `ignorecase`/`smartcase`## Status
WIP
## Requirements
* [leap.nvim](https://github.com/ggandor/leap.nvim)
* [repeat.vim](https://github.com/tpope/vim-repeat) (transitive)## Setup
`setup` is mandatory to call, but no arguments are necessary, if the defaults
are okay:```lua
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 = {}
}
```