various tweaks and refactors

This commit is contained in:
Von Random 2020-02-11 15:10:03 +03:00
parent 2fb479e4ec
commit 8e5f4e4d9e
7 changed files with 31 additions and 24 deletions

View file

@ -1,11 +1,8 @@
#!/usr/bin/zsh
INDEX="$HOME/vimwiki/index.md"
WIKIOPTS="[{'path': '$HOME/vimwiki/', 'syntax': 'markdown', 'ext': '.md'}]"
VIMOPTS=(
'-c' 'set titlestring=vimwiki'
'-c' "let g:vimwiki_list = $WIKIOPTS"
'-c' 'packadd vimwiki'
'-c' "e $INDEX"
'-c' 'VimwikiIndex'
)
case $1 in