Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/AgusDOLARD/backout.nvim

Jump back and forth while being in insert mode
https://github.com/AgusDOLARD/backout.nvim

List: backout.nvim

awesome awesome-list lua neovim neovim-plugin plugin

Last synced: 4 months ago
JSON representation

Jump back and forth while being in insert mode

Lists

README

        

# backout.nvim

## 📖 Overview

`backout.nvim` is a minimal neovim plugin designed to move inline while remaining in insert mode. This plugin is inspired by functionality from [auto-pairs](https://github.com/jiangmiao/auto-pairs) that I couldn't find in other auto-pair plugins.

### Example

![Example](https://vhs.charm.sh/vhs-5zjoLQoKJKK1DQBld3RQRp.gif)

## 🚀 Installation

- [lazy.nvim](https://github.com/folke/lazy.nvim)

```lua
return {
"AgusDOLARD/backout.nvim",
opts = {},
keys = {
-- Define your keybinds
{ "", "lua require('backout').back()", mode = { "i" } },
{ "", "lua require('backout').out()", mode = { "i" } },
},
}
```

## ⚙️ Options

### chars

A string containing characters or sequences to jump between

```lua
chars = "(){}[]`'\"<>" -- default chars
```

## 🤝 Contributions

Contributions are welcome! Feel free to open issues, submit pull requests, or provide feedback to help improve backout.nvim.