Skip to content

Commit

Permalink
Merge pull request #729 from daxgames/fix_vim_alias
Browse files Browse the repository at this point in the history
Fixed - Powershell vim/vim alias opening a new tab when editing a file
  • Loading branch information
Stanzilla committed Nov 24, 2015
2 parents a9b0645 + 9b25544 commit 519b9ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vendor/profile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ try {
# $env:Path += $(";" + $env:CMDER_ROOT + "\vendor\git-for-windows\usr\bin")
# set-alias -name "vi" -value "vim"
# # 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 {
Expand Down

0 comments on commit 519b9ca

Please sign in to comment.