summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configs/.screenrc26
-rw-r--r--configs/.tigrc12
-rw-r--r--guides/tig.md28
3 files changed, 66 insertions, 0 deletions
diff --git a/configs/.screenrc b/configs/.screenrc
new file mode 100644
index 0000000..75f7f4f
--- /dev/null
+++ b/configs/.screenrc
@@ -0,0 +1,26 @@
+vbell on
+
+autodetach on
+
+startup_message off
+
+#bindkey "^[OQ" split
+#bindkey "^[OR" focus
+#bindkey "^[OS" remove
+bindkey -k k2 split -v
+bindkey -k k3 focus
+bindkey -k k4 remove
+bindkey -k k5 split
+
+bindkey -k k8 screen
+bindkey -k k9 next
+
+bind o focus
+caption always "%w"
+
+#replace Ctrl-A by Ctrl-Z
+escape ^Zz
+#escape ^Oo
+
+hardstatus alwayslastline "%H %C%a %M %d, %Y Load: %l "
+logfile /tmp/screen.log
diff --git a/configs/.tigrc b/configs/.tigrc
new file mode 100644
index 0000000..0edf0bd
--- /dev/null
+++ b/configs/.tigrc
@@ -0,0 +1,12 @@
+set horizontal-scroll = 33%
+
+#set main-view = date:default author:abbreviated
+set main-view-date = custom
+#set main-view-date-format = "%Y-%m-%d %H:%M"
+set main-view-date-format = "%y-%m-%d"
+#set main-view-author = no
+#set main-view-author = abbreviated
+set main-view-author = email-user
+set split-view-width = 80%
+set split-view-height = 80%
+
diff --git a/guides/tig.md b/guides/tig.md
new file mode 100644
index 0000000..b79a809
--- /dev/null
+++ b/guides/tig.md
@@ -0,0 +1,28 @@
+tig guides
+----------
+
+# view
+
+* d - diff
+* m - main
+
+# move-1-page
+
+* -
+* Space
+
+# move-alf
+
+* Ctrl-U
+* Ctrl-D
+
+# scroll
+
+* Ctrl-Y
+* Ctrl-E
+
+# display set
+
+* # line-number
+* A arthor
+* D date