Skip to content

Instantly share code, notes, and snippets.

View stekks's full-sized avatar

Jan Broeze stekks

View GitHub Profile
@stekks
stekks / nvims.ps1
Last active May 15, 2023 09:03
Start Neovim with different configs in Powershell
# Start NeoVim (>0.9) with different configurations. See: https://www.youtube.com/watch?v=LkHjJlSgKZY
# Unfortunately aliases are very limited so I opted for a function and it isn't possible to bind hotkeys AFAIK.
#
# Add this to $PROFILE
# in $items add the name of the config directory (in the same root as the orginal 'nvim' directory)
#
# The 'nvim_lazy' function is an 'alias' to directly start an nvim with a configuration.
# The 'nvims' function lets you choose a config using 'fzf'. (be sure to have 'fzf' installed, I use Scoop to install Powershell tools)
#