Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The term 'vim' is not recognized #566

Closed
ghost opened this issue Jul 31, 2015 · 13 comments
Closed

The term 'vim' is not recognized #566

ghost opened this issue Jul 31, 2015 · 13 comments

Comments

@ghost
Copy link

ghost commented Jul 31, 2015

I am trying to create a readme file in my directory, I write: vim README
and I get this error.

λ vim README
vim : The term 'vim' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ vim README
+ ~~~
    + CategoryInfo          : ObjectNotFound: (vim:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

@kermage
Copy link

kermage commented Jul 31, 2015

You need the none-mini version to have all the UNIX commands, or install manually msysgit.

@springfieldking
Copy link

i have the same problem, but it happend only when i use powershell as startup a cmder, i work well on cmd

@Zundrium
Copy link

Having the same issue with a fresh none-mini version 1.2, even when running it as an administrator or using the normal CMD instead of PowerShell on start-up. UPDATE: Resolved, it was thanks to the new Git for Windows 2.5.0

@brentonklassen
Copy link

I'm having the same problem ever since I installed Windows 10. Now have no vim, and I can't run ls -lah.

@rmorrin
Copy link
Contributor

rmorrin commented Sep 9, 2015

@brentonklassen Did you install Git for Windows? If so, the issue is likely because the Unix tools have moved from Git's bin directory to usr\bin. You'll need to update your path to account for this.

Using my installation as an example: C:\Program Files\Git\usr\bin is required in my path.

@div-killer
Copy link

Hello guys, I have the same problem but I cannot find the solution.. Any possible ideas how to fix the error ? Im using windows 7 with git version 2.6.1.windows.1. Also does any of you can help with this following error "WARNING: Missing git support, install posh-git with 'Install-Module posh-git' and restart cmder." Using cmder. :@

@Stanzilla
Copy link
Member

@div-killer please install the latest pre-release

@syampsijk
Copy link

hey i am having this issue.i cant use bashrc ,vim or any ,show error

@supreethbharadwajps
Copy link

supreethbharadwajps commented Jan 20, 2019

Probably because Powershell doesn't run all Unix commands, so i used a different terminal/console

@daxgames
Copy link
Member

The latest cmder here does not have this problem.

@jewelcse
Copy link

jewelcse commented Oct 5, 2019

to resolve this problem you have to run vim database/database.sqlite in git bash terminal

@JonathanJRod
Copy link

To resolve this issue via PowerShell then I recommend getting Chocolatey Windows Package Manager, it's an amazing software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages. Once you have Chocolatey installed all you need to do to access Vim hassle-free is simply >choco install vim, and voila! I absolutely love Chocolatey! :)

@daxgames
Copy link
Member

@JonathanJRod while you are correct this would install vim and make vim a runnable command it is not a valid solution in this thread. Cmder Full includes Git for Windows which includes vi. The best answer would be to create a Powershell alias for vi and call it vim which I believe the current version already does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests