-
Notifications
You must be signed in to change notification settings - Fork 49
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 magit buffer is editable #152
Comments
This is actually a feature. You can modify your hunks, following rules in the documentation, you can stage only part of lines. However, I get your point. This is an advanced feature, and it is not used much. I can do the following:
This is actually a very good point: restrict this feature will ease future optimization work. |
Hm... I can edit staged\unstaged sources inside Magit buffer? |
You can edit unstaged sources. Edit stage source is not restricted, but it won't do anything. |
Sounds dangerous =)
Yes, I realy need it, thank you =) Previously, I could not return from the Emacs to Vim\Neovim, because I'm dependent on the Magit and especially the ability to stage hunks, but now thanks to you I have a chance to do it =) (too bad English) |
Thanks for your feedback usage! |
Can you inform here when this feature will be implemented? |
An example to show to how to use this feature has been added. ref #152
An example to show to how to use this feature has been added. ref #152
@cryptomaniac512 could you please:
Thanks |
Looks good. After I finish editing (started with How to open file displayed in magit buffer? Previously it was possible with |
You quit edit mode when you refresh the vimagit buffer: it happens when you stage something (with
You are not the first one noticing that. I did not thought this feature was used as much. I was not sure to change this mapping, changing mapping is always a bad idea.. I think before merging this branch to For the record, the "jump to the hunk in the file" feature is not accurate, but I think I finally found a solution for this. |
This is a cool feature! It works in Emacs Magit and I use it every hour =) |
I am working on another branch to get a precise jump. |
Thanks! |
It landed in branch |
Short description of the problem
The magit buffer is editable. This causes some confusion, since it raises doubts about the reliability of the situation and the work with its changes.
I think that magit buffer should be read-only and be managed only through commands.
Steps to reproduce
Call
:Magit', type
A,
i,
O` or another command to go into insert-modeEnvironment
vim
ornvim
versionNVIM v.0.2.1
git
versiongit version 2.15.0
current vimagit version or (or SHA1)
lastest installed with
Plug
OS
VoidLinux
terminal or gvim
xfce4-terminal used
The text was updated successfully, but these errors were encountered: