summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVon Random <von@vdrandom.org>2018-07-10 02:30:30 +0300
committerVon Random <von@vdrandom.org>2018-07-10 02:30:30 +0300
commitb4dfe38b152228392bffb83243950d804696d737 (patch)
tree78b4b8b20484c5abf306f105c1b83ea3c8b7ae1c
parent7c21d2da5cd8e72a820f95d55d9d3c0816e612e0 (diff)
get rid of nvim for now
-rwxr-xr-xtvim4
-rwxr-xr-xvimwiki2
2 files changed, 3 insertions, 3 deletions
diff --git a/tvim b/tvim
index 449ed71..3b5e667 100755
--- a/tvim
+++ b/tvim
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
typeset -a vimopt=(
'--cmd' 'let g:tvim = 1'
- '--cmd' "set tgc title titlestring=[%F]%m\\ -\\ TVIM"
+ # '--cmd' "set tgc title titlestring=[%F]%m\\ -\\ TVIM"
'-c' 'set mouse=a'
)
@@ -11,6 +11,6 @@ error() {
}
termbin=$(command -v st) || termbin=$(command -v xterm) || error "No terminal found!"
-vimbin=$(command -v nvim) || vimbin=$(command -v vim) || error "No vim binary found!"
+vimbin=$(command -v vim) || error "No vim binary found!"
exec "$termbin" -c tvim -e "$vimbin" "${vimopt[@]}" "$@" &>/dev/null & disown
diff --git a/vimwiki b/vimwiki
index a937a73..272dc5d 100755
--- a/vimwiki
+++ b/vimwiki
@@ -7,7 +7,7 @@ typeset -a vimopts=(
)
case $1 in
-g) vimbin=$(command -v gvim);;
- -n) vimbin=$(command -v nvim) || vimbin=$(command -v vim);;
+ -n) vimbin=$(command -v vim);;
*) vimbin=$(command -v tvim);;
esac
exec flock -w0 "$index" "$vimbin" "${vimopts[@]}"