sponsor Vim development Vim logo Vim Book Ad

DidYouMean : Ask for the right file to open

 script karma  Rating 13/4, Downloaded by 785  Comments, bugs, improvements  Vim wiki

created by
Daniel Schemala
 
script type
utility
 
description
DidYouMean
==========

Vim plugin which asks for the right file to open

Demo: https://asciinema.org/a/15372
Github: https://github.com/EinfachToll/DidYouMean

If you're like me and you want to edit a specific file with Vim, say, `test.py`, you type `vim te` into the terminal, then you hit `<Tab>` and `<Enter>` immediately because you think your shell expands the characters to the right file name. But if there's another file starting with `te`, Vim fires up with an empty file called `te`, laughing at you. That's annoying. This simple plugin makes Vim ask for the right file to open.
 
install details
Just drop DidYouMean.vim into .vim/plugin/ or use a plugin manager like Pathogen or Vundle.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
DidYouMean.vim 1.0.2 2015-04-23 7.0 Daniel Schemala Fix: don't include the swap file
DidYouMean.vim 1.0.1 2015-02-03 7.0 Daniel Schemala Catch and handle glob errors
DidYouMean.vim 1.0 2015-01-12 7.0 Daniel Schemala Initial upload
ip used for rating: 18.216.114.23

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github