Fixed - Powershell vim/vim alias opening a new tab when editin a file

This commit is contained in:
Dax T. Games 2015-11-24 10:58:58 -06:00
parent a9b06459da
commit 9b25544c05

4
vendor/profile.ps1 vendored
View File

@ -32,9 +32,9 @@ try {
# $env:Path += $(";" + $env:CMDER_ROOT + "\vendor\git-for-windows\usr\bin") # $env:Path += $(";" + $env:CMDER_ROOT + "\vendor\git-for-windows\usr\bin")
# set-alias -name "vi" -value "vim" # set-alias -name "vi" -value "vim"
# # I think the below is safer. # # I think the below is safer.
set-alias -name "vim" -value $($ENV:CMDER_ROOT + "\vendor\git-for-windows\usr\bin\vim.exe $1 $2 $3 $4 $5 $6 $7 $8 $9")
set-alias -name "vi" -value $($ENV:CMDER_ROOT + "\vendor\git-for-windows\usr\bin\vim.exe $1 $2 $3 $4 $5 $6 $7 $8 $9")
new-alias -name "vim" -value $($ENV:CMDER_ROOT + "\vendor\git-for-windows\usr\bin\vim.exe")
new-alias -name "vi" -value vim
} }
try { try {