-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Allow goto_prev_buffer
OR goto_previous_function
...
#12931
Comments
goto_prev_buffer
and allow_previous_function
...goto_prev_buffer
and goto_previous_function
...
goto_prev_buffer
and goto_previous_function
...goto_prev_buffer
OR goto_previous_function
...
I think The other commands which use short acronyms like My reasoning is this:
Using long descriptive names is better than using short acronyms. |
Is the aliasing solution viable? And how would the deprecation be handled? |
I'm not sure there's a need to make a breaking change just because of naming inconsistency. For example, some themes in Helix use Despite the inconsistency, it was decided not to rename these themes. It would be a breaking change (breaking change in Helix means people's configs will require editing) |
Ah, I understand. I would like to start working on this, is there a mentorship system like there is for the Rust project? I'm not too sure where to start, maybe https://github.com/helix-editor/helix/blob/master/helix-term/src/commands.rs ? Maybe by adding something like - /* Add it to static commands */
fn move_prev_word_start(cx: &mut Context) {
move_word_impl(cx, movement::move_prev_word_start)
}
fn move_previous_word_start(cx: &mut Context) {
move_prev_word_start(cx)
} |
In https://github.com/helix-editor/helix/blob/master/helix-term/src/commands.rs
I noticed that the
goto_previous_buffer
command is not named with respect to the othergoto_prev_
commands likegoto_prev_function
,goto_prev_class
.I think
goto_previous_buffer
should be changed togoto_prev_buffer
to be consistent with other commands. For backward's compatibility sake,goto_previous_buffer
can be aliased to the newgoto_prev_buffer
.If this is even a valid enhancement, I would like it to be my first contribution to Helix.
The text was updated successfully, but these errors were encountered: