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
- Host: GitHub
- URL: https://github.com/mskelton/bandit.nvim
- Owner: mskelton
- License: isc
- Created: 2022-12-11T22:11:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-21T03:55:03.000Z (over 1 year ago)
- Last Synced: 2024-10-18T08:18:08.070Z (8 months ago)
- Topics: fugitive, neovim, neovim-plugin
- Language: Lua
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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