[WIP] Modify `gim` zsh function.

Improve the behaviour of `gim`:

- Do not execute `vim`, if the user does not select any files.
- Enable `gim` function, only when the current directory is under the `git` repositories.