diff options
author | Von Random <von@vdrandom.org> | 2018-07-16 15:25:33 +0300 |
---|---|---|
committer | Von Random <von@vdrandom.org> | 2018-07-16 15:25:33 +0300 |
commit | 90c59f9b216584e95f8d6e48b39f700198b100f0 (patch) | |
tree | 0246b7edd9f6f4c89b10c3f835b2c9fcb16c3c1a | |
parent | b4dfe38b152228392bffb83243950d804696d737 (diff) |
gief nvim back in tvim, also prettier truecolortest.awk
-rwxr-xr-x | truecolortest.awk | 2 | ||||
-rwxr-xr-x | tvim | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/truecolortest.awk b/truecolortest.awk index ec3313f..20b8de0 100755 --- a/truecolortest.awk +++ b/truecolortest.awk @@ -2,7 +2,7 @@ # a simple script to test 24 bit compatibility in a terminal # source: https://gist.github.com/XVilka/8346728 BEGIN{ - s="/\\/\\/\\/\\/\\"; s=s s s s s s s s; + s="▀▀▀▀▀▀▀▀▀▀"; s=s s s s s s s s; for (colnum = 0; colnum<77; colnum++) { r = 255-(colnum*255/76); g = (colnum*510/76); @@ -1,7 +1,6 @@ #!/usr/bin/env bash typeset -a vimopt=( '--cmd' 'let g:tvim = 1' - # '--cmd' "set tgc title titlestring=[%F]%m\\ -\\ TVIM" '-c' 'set mouse=a' ) @@ -11,6 +10,6 @@ error() { } termbin=$(command -v st) || termbin=$(command -v xterm) || error "No terminal found!" -vimbin=$(command -v vim) || error "No vim binary found!" +vimbin=$(command -v nvim) || vimbin=$(command -v vim) || error "No vim binary found!" exec "$termbin" -c tvim -e "$vimbin" "${vimopt[@]}" "$@" &>/dev/null & disown |