vimwiki and tvim to use st

This commit is contained in:
Von Random 2017-10-19 15:53:48 +03:00
parent db9188b2aa
commit 3248780f33
2 changed files with 3 additions and 3 deletions

2
tvim
View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
term=default-terminal-emulator
term=st
vim=vim
#[[ -x $(type -P nvim) ]] && vim=nvim

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
vim_wiki_dir="$HOME/vimwiki/index.wiki"
vim_wiki_index="$HOME/vimwiki/index.wiki"
# vim wiki to scratchpad
default-terminal-emulator -name vimwiki -e flock -w0 ${vim_wiki_dir} vim ${vim_wiki_dir}
st -n vimwiki -e flock -w0 ${vim_wiki_index} vim ${vim_wiki_index}