From: Simon Ruderich Date: Sat, 8 May 2010 08:36:18 +0000 (+0200) Subject: tigrc: Unbind all commands which may change the repository. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=0fe2d30f338afb59ef09f6cc8c36da5eb9fa7265 tigrc: Unbind all commands which may change the repository. This needs a version newer than 0.15 (it's a noop on older versions). --- diff --git a/tigrc b/tigrc index 82b53b1..4c0980c 100644 --- a/tigrc +++ b/tigrc @@ -22,6 +22,16 @@ bind generic * move-last-line # Close current view like in mutt. bind diff i view-close +# Unbind commands which may change the repository. I use tig only as a viewer. +bind generic u none +bind generic ! none +bind generic M none +bind generic @ none +bind generic e none +bind generic G none +bind generic C none +bind generic i none + # COLORS