From 43d41eee788a0c3e6e99f32d9d4da9332fd6cc5b Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Mon, 19 Oct 2020 10:30:36 +0800 Subject: Update --- alias | 7 ++++--- tigrc | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/alias b/alias index a0e4760..6fd161b 100644 --- a/alias +++ b/alias @@ -14,8 +14,9 @@ alias log="cat $SETTING_DIR/log | grep '`date +'%b %d'`'" # vim alias v='vim' alias sv='sudo vim' -alias vv='vim ~/vimwiki/index.md' +alias vl="vim -c ':CtrlPMRU'" alias vr='vim -R' +alias vv='vim ~/vimwiki/index.md' alias cdv='cd ~/.vim_runtime' # amix/vimrc repo # for custom scripts @@ -112,8 +113,8 @@ alias cdgw='cdgg && cd .github/workflows' alias cdgs='cd $(git submodule status | sed "s/^.//" | cut -d" " -f2)' # cd to first submodule # github -GITHUB_API='https://api.github.com' -GITHUB_API_TOKEN=$(cat $SETTING_DIR/tokens/github 2>/dev/null) +export GITHUB_API='https://api.github.com' +export GITHUB_API_TOKEN=$(cat $SETTING_DIR/tokens/github 2>/dev/null) alias hub="GITHUB_TOKEN=$GITHUB_API_TOKEN hub" alias github_token='xdg-open https://github.com/settings/tokens' github() { diff --git a/tigrc b/tigrc index 851820a..9941df6 100644 --- a/tigrc +++ b/tigrc @@ -12,7 +12,7 @@ bind generic gg move-first-line bind generic G move-last-line # scroll right easily -bind generic scroll-left +bind generic 0 scroll-left bind generic scroll-right # redraw, refresh, source tigrc -- cgit v1.2.3-70-g09d2