bim: bind global.scrollamount

This commit is contained in:
K. Lange 2023-12-28 14:49:37 +09:00
parent 0f02ba3d90
commit 0c83381a53

View File

@ -5975,6 +5975,15 @@ BIM_COMMAND(global_statusbar,"global.statusbar","Show or set whether to display
return 0;
}
BIM_COMMAND(global_scrollamount,"global.scrollamount","Show or set scroll amount when using mouse wheel") {
if (argc < 2) {
render_status_message("global.scrollamount=%d",global_config.scroll_amount);
} else {
global_config.scroll_amount = atoi(argv[1]);
}
return 0;
}
BIM_COMMAND(global_search_wraps,"wrapsearch","Enable search wrapping around from top or bottom") {
if (argc < 2) {
render_status_message("wrapsearch=%d",global_config.search_wraps);