From 58ad46bfb6b3bbca3799e2d457761bf043f65863 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Thu, 17 Apr 2014 15:32:46 +0200 Subject: [PATCH] Add bindings for `!` to delete branch and drop stash Fixes #133 --- NEWS.adoc | 1 + tigrc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/NEWS.adoc b/NEWS.adoc index 6c141b5..08b6e8d 100644 --- a/NEWS.adoc +++ b/NEWS.adoc @@ -73,6 +73,7 @@ Improvements: - Add completion and history support to the prompt via readline. (GH #185) - Options can be toggled individually for each view. (GH #89) - Add support for `--graph` and highlight diff stats in the log view. + - Add builtin command bindings: `!` to delete branch, `!` to drop stash. Bug fixes: diff --git a/tigrc b/tigrc index 8fe1258..5b0d0cf 100644 --- a/tigrc +++ b/tigrc @@ -95,7 +95,9 @@ set mouse-scroll = 3 # Number of lines to scroll via the mouse bind main C ?git cherry-pick %(commit) bind status C !git commit bind stash P ?git stash pop %(stash) +bind stash ! ?git stash drop %(stash) bind branch C ?git checkout %(branch) +bind refs ! ?git branch -d %(branch) # Normal commands # --------------- -- 2.11.4.GIT