Skip to content

Conversation

@dhthwy
Copy link
Contributor

@dhthwy dhthwy commented Nov 11, 2025

There are definitely parts that need some refactoring, I think.

The intent was not to change any behavior or risk changing behavior, so refactoring was kept to minimum.

@dhthwy
Copy link
Contributor Author

dhthwy commented Nov 12, 2025

I tested most of this. Ought to have tests for all the commands. Manual checking sucks.

The keybinding commands work as expected with std::views::drop and std::views::reverse.

@dhthwy
Copy link
Contributor Author

dhthwy commented Nov 12, 2025

Alright, for the most part, I only did the stuff I could verify, so I guess that's it for now.

I added a couple of utility functions to miscutil.h for replacing backslashes to forward slashes. Didn't use ranges there to avoid adding another include.

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

Successfully merging this pull request may close these issues.

1 participant