Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/will-lynas/grapple-utils.nvim
A collection of utility functions for grapple.nvim
https://github.com/will-lynas/grapple-utils.nvim
neovim neovim-plugin nvim plugin
Last synced: about 1 month ago
JSON representation
A collection of utility functions for grapple.nvim
- Host: GitHub
- URL: https://github.com/will-lynas/grapple-utils.nvim
- Owner: will-lynas
- License: mit
- Created: 2024-08-03T00:20:39.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-11T16:15:05.000Z (3 months ago)
- Last Synced: 2024-09-29T06:03:27.428Z (about 2 months ago)
- Topics: neovim, neovim-plugin, nvim, plugin
- Language: Lua
- Homepage:
- Size: 15.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grapple-utils.nvim
A collection of small utility functions for `grapple.nvim`
## `lazy.nvim` setup
```lua
{
"will-lynas/grapple-utils.nvim",
version = "*",
dependencies = {
"cbochs/grapple.nvim",
},
}
```## API
Move the current tag to a specified index in the list of tags
```lua
require("grapple-utils").move_to_index({ index = 2 })
require("grapple-utils").move_to_index({ index = -2 }) -- moves to the second to last position
```Move the current tag to the start or end of the list of tags
```lua
require("grapple-utils").move_to_start()
require("grapple-utils").move_to_end()
```Move the current tag up or down the list of tags
```lua
require("grapple-utils").move_up()
require("grapple-utils").move_down()
```