Guest User

Untitled

a guest
Jan 19th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. if ((Get-Command nvim -ErrorAction Ignore) -and -not (Get-Command vim -ErrorAction Ignore)) {
  2. Set-Alias vim nvim
  3. }
  4. if ((Get-Command vim -ErrorAction Ignore) -and -not (Get-Command vi -ErrorAction Ignore)) {
  5. Set-Alias vi vim
  6. }
  7. if ((Get-Command nvim-qt -ErrorAction Ignore) -and -not (Get-Command gvim -ErrorAction Ignore)) {
  8. Set-Alias gvim nvim-qt
  9. }
Add Comment
Please, Sign In to add comment