new vimwiki scripts

This commit is contained in:
Von Random 2018-06-20 17:09:46 +03:00
parent 676f0bce31
commit b2d4543bc6
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
vim_wiki_rc="$HOME/vimwikirc"
vim_wiki="$HOME/vimwiki/index.wiki"
# gvim wiki to scratchpad
gvim -c "source ${vim_wiki_rc}"
flock -w0 ${vim_wiki} gvim ${vim_wiki}

View file

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