-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Issue Tracker: Replace altercommand #1260
Comments
@justinmk some early questions. I understand how However, what about commands like Is there a |
Additionally, what about |
Same question with Edit: I guess in this situation I could compare the current filename vs |
@justinmk bump. It looks like |
In neovim, I tried collecting as much information as possible. However, this is the data I get on a maybe I can try to figure out the position of the new window and calculate the most likely split, but that seems like a lot of work. However, a window position sync api does seem like it could work well with some nvim plugins. |
There is I see the window layout stuff as a lower priority. Mappings are the right approach there, for now. The main priority imo is to remove complicated layers of hacks except where absolutely necessary.
|
Thanks for the advice! Yeah I was hoping that this effort could entirely remove altercommand but I guess only partially for now. Regarding letting nvim open the file, I think it's not possible given the reasons Alexey mentioned. That's because not all files are on the local filesystem (wsl, remote workspaces, liveshare, etc). |
For those cases IOW:
|
Sounds good, hopefully I will have time to look into this before the summer runs out. FWIW, this will also enable improvements with shada/undo history. |
@xiyaowong this might be a good PR for v1.0.0 as well, if you are interested. Removing as many (probably not all) altercommands as possible will remove a lot of hacks. |
Removing altercommands for |
The altercommand hack is very gross. There is some useful information in #887 that should help with removing it.
The text was updated successfully, but these errors were encountered: