mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-10 16:29:08 +08:00
Fixed - Powershell vim/vim alias opening a new tab when editin a file
This commit is contained in:
parent
a9b06459da
commit
9b25544c05
4
vendor/profile.ps1
vendored
4
vendor/profile.ps1
vendored
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user