new vimwiki scripts
This commit is contained in:
parent
676f0bce31
commit
b2d4543bc6
2 changed files with 3 additions and 3 deletions
4
gvimwiki
4
gvimwiki
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
vim_wiki_rc="$HOME/vimwikirc"
|
vim_wiki="$HOME/vimwiki/index.wiki"
|
||||||
# gvim wiki to scratchpad
|
# gvim wiki to scratchpad
|
||||||
gvim -c "source ${vim_wiki_rc}"
|
flock -w0 ${vim_wiki} gvim ${vim_wiki}
|
||||||
|
|
2
vimwiki
2
vimwiki
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
vim_wiki="$HOME/vimwiki/index.wiki"
|
vim_wiki="$HOME/vimwiki/index.wiki"
|
||||||
# vim wiki to scratchpad
|
# 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}
|
||||||
|
|
Loading…
Reference in a new issue