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] use +0 when calling vim to collect commit message #259

Open
TLINDEN opened this issue Sep 25, 2024 · 1 comment
Open

Comments

@TLINDEN
Copy link

TLINDEN commented Sep 25, 2024

I'm not sure, if gitu calls vi[m] or $EDITOR itself of if it just calls git commit. If it calls it itself, then it would be good to add the +0 argument.

Currently it looks like this: I change a file, commit it and enter a commit message. I end up in line 4. Next time I want to enter another commit message, vim starts on line 4 again, so this time inside the comment section. I have to move the cursor to the top to enter the message.

@altsem
Copy link
Owner

altsem commented Sep 25, 2024

@TLINDEN Gitu just runs git commit, so git would be responsible for opening the editor.

The case is not the same when you open a file/diff with "enter".

I take you get a different result when running git commit from the terminal?
Seems odd 🤔

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

2 participants