jreybert / vimagit

Ease your git workflow within Vim
1.31k stars 49 forks source link

Error after install when open `Magit` #174

Closed drazde closed 5 years ago

drazde commented 5 years ago

Short description of the problem

When I do :Magit it give me this error: immagine

Steps to reproduce

  1. open a file under git
  2. do :Magit

Environment

jreybert commented 5 years ago

Hi, sorry for the delay, I postponed your issue first, then I shamely forgot it...

drazde commented 5 years ago

No problem :)

* is your file in a git repository

Yes

  • what is the full path of your file, and the full path of your git repo? R:\test\prova.txt

  • open your file with vim, and give me the output output of the commands

    :expand("%:p") E492: Non è un comando dell'editor: expand("%:p") Is not a command of the editor... :call getcwd() Nothing result

jreybert commented 5 years ago

Crap, my viml is rusted.

Could you give me the output of :

drazde commented 5 years ago

Crap, my viml is rusted. Hihi ok, it seemed strange

* `:echo getcwd()`

R:\test

* `:echo expand("%:p")`

R:\test\prova.txt

sun617 commented 5 years ago

has any echo in your fish config? remove that echo may be resolve the problem

drazde commented 5 years ago

has any echo in your fish config? remove that echo may be resolve the problem

I have this error on Windows not on Linux, do you mean fish shell?

jreybert commented 5 years ago

@drazde sorry, I do not have any idea about your problem right now, and it is difficult to test on windows. Did you try on another system with windows 10? Do you have the same issue? Did you try on another repository, in another in your system?

drazde commented 5 years ago

@drazde sorry, I do not have any idea about your problem right now, and it is difficult to test on windows. Did you try on another system with windows 10? Do you have the same issue?

I use both Linux and Windows, on linux is ok on Windows I have that problem

Did you try on another repository, in another in your system? Yes the same problem.

My home dir have space in the path coud be a problem?

jreybert commented 5 years ago

spaces in path have been a problem, and fixed a long time ago on Linux. Yes, it may be a problem on windows too, and the fix may be different.

Do you have a way to test the exact same repository in a path without space?

drazde commented 5 years ago

I don't understand what could have happened, but I ave no more the problem!

I close the bug, but I don't underestand what has changed

satish77 commented 2 years ago

vim 8.2.3397 on windows 10 gives the folllowing on :Magit image