]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - tigrc
tigrc: Add some more key bindings.
[config/dotfiles.git] / tigrc
diff --git a/tigrc b/tigrc
index d8b0b78817485e24767b5deb727a4d9dcf2b2134..8d81ff214441b92c7e8db92319b4f481288d097a 100644 (file)
--- a/tigrc
+++ b/tigrc
@@ -4,13 +4,30 @@
 # Show the revision graph like gitk does.
 set show-rev-graph = yes
 
+# Use relative dates.
+set show-date = relative
+
+
+# BINDINGS
+
+# Allow moving in the main menu while displaying a diff in the bottom of the
+# screen.
+bind generic J next
+bind generic K previous
+
+# Mutt like bindings to move to first and last line.
+bind generic = move-first-line
+bind generic * move-last-line
+
+# Close current view like in mutt.
+bind diff i view-close
+
 
 # COLORS
 
 # Try to mimic gitk's colors.
 
-color date   default default
-
+color date      default default
 color delimiter default default # ~ if text is too long
 
 # Main window.