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
549 B

#!/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"