Files
dev_prod/10x_nvim.sh
Pratik Tripathy ca49dcafc2 README.MD typo fix
Aliases
- Moved to appropriately named file
- Added aliases for copying git-template and prettier-template
- Fix to git_push_all_changes function

Nvims
- Compacted the function

Project Access
- pnew() updated to clone remore repo or create a new one from scratch depending on options provided
2024-03-06 16:09:39 +05:30

16 lines
437 B
Bash

#!/bin/sh
# Nvim Distro-Switcher
alias nvim-lazy="NVIM_APPNAME=nvim-lazy nvim"
nvims() {
config=$(find -L "$HOME"/.config -maxdepth 2 -name "init.lua" -type f -execdir sh -c 'pwd | xargs basename' \; | fzf --prompt=" Neovim Config ")
if [ "$config" = "" ]; then
echo "Nothing selected"
return 0
fi
NVIM_APPNAME=$config nvim "$@"
}
# Nvim Distro-Switcher
alias nvim-lazy="NVIM_APPNAME=nvim-lazy nvim"