summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmos Kong <amos@sietium.com>2023-12-17 23:20:45 +0800
committerAmos Kong <amos@sietium.com>2023-12-17 23:23:50 +0800
commita6dc979c83d249135f49e1af0ffa0d2174b62b0d (patch)
tree4c17b41d23ff24171d1fd08db5c51b192a75a0c0
parent37d3fca21176ea2d66937dc97dfafa8a291c9c0c (diff)
downloadconfig-samples-master.tar.gz
config-samples-master.tar.xz
config-samples-master.zip
configs: add .screenrc .tigrcHEADmaster
Signed-off-by: Amos Kong <amos@sietium.com>
-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