|
|
#!/bin/bash
: ' Needs PlugInstall installed in the custom path:
XDG_DATA_HOME="$HOME/.config/nvim-wiki"; echo $XDG_DATA_HOME; \ sh -c 'curl -fLo $XDG_DATA_HOME/site/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' '
# PROFILE_DIR="$HOME/.config/nvim-wiki" # echo $PROFILE_DIR
# XDG_CONFIG_HOME="$PROFILE_DIR" XDG_DATA_HOME="$PROFILE_DIR" XDG_CACHE_HOME="$PROFILE_DIR" nvim -u $PROFILE_DIR/init.vim # -c "VimwikiIndex"
# nvim -c "set runtimepath=~/.config/nvim-wiki" vim -c "VimwikiIndex"
|