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

https://github.com/mskelton/bandit.nvim

The fugitive's sidekick
https://github.com/mskelton/bandit.nvim

fugitive neovim neovim-plugin

Last synced: 2 months ago
JSON representation

The fugitive's sidekick

Awesome Lists containing this project

README

        

# bandit.nvim

> The fugitive's sidekick.

This plugin is a small plugin that provides a few nice features to augment the
amazing [vim-fugitive](https://github.com/tpope/vim-fugitive) plugin.

## Installation

Install with your favorite package manager (e.g. [lazy.nvim](https://github.com/folke/lazy.nvim)).

```lua
{ "mskelton/bandit.nvim" }
```

## Usage

### Committing files

The Bandit commit input allows you to quickly open a floating window where you
can type a commit message and quick flags to modify behavior. By default, Bandit
will add all files (including untracked files) before committing.

```lua
require("bandit").commit()
```

Available quick flags that can be prepended to the commit message. These flags
will be stripped from the commit message.

- `t/` - Only commit changes to tracked files
- `s/` - Only commit staged changes