Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ((Get-Command nvim -ErrorAction Ignore) -and -not (Get-Command vim -ErrorAction Ignore)) {
- Set-Alias vim nvim
- }
- if ((Get-Command vim -ErrorAction Ignore) -and -not (Get-Command vi -ErrorAction Ignore)) {
- Set-Alias vi vim
- }
- if ((Get-Command nvim-qt -ErrorAction Ignore) -and -not (Get-Command gvim -ErrorAction Ignore)) {
- Set-Alias gvim nvim-qt
- }
Add Comment
Please, Sign In to add comment