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

Feature Request: Add all files with specific extension to .gitignore. #147

Open
fpnick opened this issue Oct 24, 2017 · 1 comment
Open
Labels
backlog This issue will be done later new feature

Comments

@fpnick
Copy link

fpnick commented Oct 24, 2017

In the Magit buffer, when the cursor is on an untracked file, the 'I' key will add that file to .gitignore, see #146 .
In some situations it could be useful to add all files with the same extension to .gitignore. I.e. if the cursor is on the file foo.bar, add the line *.bar to .gitignore.

@jreybert
Copy link
Owner

What could be the mapping for this new feature?

I would like to make it kind of composable: ignore file would become II, and ignore extension would be IE.

I will still be mapped to ignore file, but there will be a delay after the keystroke as there will mappings I + something.

@jreybert jreybert added this to To do in vimagit dev board Nov 6, 2017
@jreybert jreybert added the backlog This issue will be done later label Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog This issue will be done later new feature
Projects
Development

No branches or pull requests

2 participants