Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 851 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 851 Bytes

bandit.nvim

The fugitive's sidekick.

This plugin is a small plugin that provides a few nice features to augment the amazing vim-fugitive plugin.

Installation

Install with your favorite package manager (e.g. lazy.nvim).

{ "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.

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