# Neovim specific config options imported by .bashrc # Use this folder to store session files export NVIM_SESSIONS=$HOME/.local/share/nvim/sessions # Open Neovim loading the appropriate project session based on the name # of the current folder. If it does not exists create a new one. nvims() { mkdir -p "$NVIM_SESSIONS" if [ -d "$NVIM_SESSIONS" ]; then nvim +"call v:lua.dyamon.session.load()" $@ else exit 1 fi }