79183030

Date: 2024-11-12 23:45:17
Score: 1
Natty:
Report link

For people with a lockdown install which won't make bat files or allow access to the path you can add this to your PowerShell profile.

New-Alias vi Vim-Launch

function Vim-Launch([string]$FILE) {
    $path = Join-Path $PWD $FILE
    & "{Your path to the vim.exe}" $path
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Keith Hall