From 4eb4288f46284e4b80cf75c122c9c1c0de6a9247 Mon Sep 17 00:00:00 2001 From: typebrook Date: Wed, 3 Apr 2019 18:41:59 +0800 Subject: update --- alias | 3 +++ tigrc | 15 +++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/alias b/alias index 722637c..45cb91d 100644 --- a/alias +++ b/alias @@ -91,6 +91,7 @@ alias adb-default='adb shell dumpsys package domain-preferred-apps' alias adb-list='adb shell dumpsys package d' alias rmcache='rm -rf ~/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/*' alias adb-last-screenshot='adb pull /sdcard/Screenshots/`adb shell ls -t /sdcard/Screenshots/ | head -1` ~/Desktop' +alias adb-push='adb push /sdcard/Download/' # gist gist_list=~/gist/gist.list @@ -130,3 +131,5 @@ alias cdS='cd ~/git/StreetComplete' alias and='cd ~/git/geoBingAn.Android' alias gdal='docker-compose run --rm gdal' alias mm='mkvmerge -o out.webm -w 01.webm + 02.webm' + +repo='git@github.com' diff --git a/tigrc b/tigrc index 0fd811e..fa39144 100644 --- a/tigrc +++ b/tigrc @@ -11,6 +11,7 @@ bind generic G move-last-line bind generic scroll-left bind generic none bind generic scroll-right +bind generic l screen-redraw # toggle/copy commit id bind generic xx +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped!" @@ -174,10 +175,10 @@ bind stash n @sh -c "git stash drop %(stash) | \ #==================== # stage view #==================== -bind stage :/^@@ -bind stage :?^@@ -bind stage n :/^diff --(git|cc) -bind stage p :?^diff --(git|cc) +bind stage :/^@@ +bind stage :?^@@ +bind stage j :/^diff --(git|cc) +bind stage k :?^diff --(git|cc) #==================== # tree view @@ -223,8 +224,10 @@ bind log p :?^commit #==================== # diff view #==================== -bind diff n :/^diff --(git|cc) -bind diff p :?^diff --(git|cc) +bind diff :/^@@ +bind diff :?^@@ +bind diff j :/^diff --(git|cc) +bind diff k :?^diff --(git|cc) #==================== # help view -- cgit v1.2.3-70-g09d2