-
Notifications
You must be signed in to change notification settings - Fork 27
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
cursor mode logic #44
Comments
Cursor mode currently relies on existing Weechat functionality. I feel like a true implementation would be too hacky, though I could look into it if there's interest. |
Since you both mentioned "If there's interest" I thought you want other people to come and say what they thing about it, so here's what I think. I think the combination of the line number bar and : is so fantastic and makes it so easy to quote any msg which I think is the most common usage of cursor mode in weechat, and as for the selection I'm not yet so familiar with weechat API but it seems for me that it would be very difficult to implement a good visual mode because one might want to select multiple lines including their time, one might only want to include nicks, one might simply just want the msgs. and so I think that can make it very complex to both implement a system that does all that and to understand how to use it. Also we have the alt+l mode that makes some visual selections much easier, personally when I want to do some complex selection I end up going to alt+l mode and copy several lines in my clipboard and then I open vim in a new tab of my terminal and paste the text there and then I use all the great visual features of vim to edit the text quickly and get exactly what I want. But for simple quick tasks I think it would be a nice feature and also I think it would be not so difficult to implement to have a Visual mode for within the input bar so people can quote msgs and use the visual mode once the msgs are already in the input bar. (it would be mainly for yanking phrases etc) @halfwit I think it's good if you talk about the usecases you have in mind for the visual mode you mentioned. |
For me, going to visual mode was basically for selecting regions of text, arbitrary regions and yanking them. As much as I like scripts that scrape urls, for example, I would prefer often to just move to the line and grab what I want. With this in mind, the visual mode indeed would be complicated
in the above example, trying to select messages, but elements such as the separator, or the leading spaces would be highly desirable in my opinion. (I've set up my weechat |
Hey, is there any interest in extending the cursor mode, beyond simply arrow keys? (Also, there must be some way to do a bit of visual selection, as search clearly implements some form of highlighting...) I'll be willing to help out/lead it off, but only if there's interest. The other possibility is simply doing a complementary plugin, but it seems like repeating your existing functions
The text was updated successfully, but these errors were encountered: