You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
557 B

2 months ago
  1. #!/usr/bin/env bash
  2. : '
  3. Needs PlugInstall installed in the custom path:
  4. XDG_DATA_HOME="$HOME/.config/nvim-wiki"; echo $XDG_DATA_HOME; \
  5. sh -c 'curl -fLo $XDG_DATA_HOME/site/autoload/plug.vim --create-dirs \
  6. https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
  7. '
  8. # PROFILE_DIR="$HOME/.config/nvim-wiki"
  9. # echo $PROFILE_DIR
  10. # XDG_CONFIG_HOME="$PROFILE_DIR" XDG_DATA_HOME="$PROFILE_DIR" XDG_CACHE_HOME="$PROFILE_DIR" nvim -u $PROFILE_DIR/init.vim
  11. # -c "VimwikiIndex"
  12. # nvim -c "set runtimepath=~/.config/nvim-wiki"
  13. vim -c "VimwikiIndex"