]> 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 df8c221a384963f64ced8ea78cdb82baf63846dd..8d81ff214441b92c7e8db92319b4f481288d097a 100644 (file)
--- a/tigrc
+++ b/tigrc
@@ -4,6 +4,9 @@
 # Show the revision graph like gitk does.
 set show-rev-graph = yes
 
+# Use relative dates.
+set show-date = relative
+
 
 # BINDINGS
 
@@ -12,13 +15,19 @@ set show-rev-graph = yes
 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.