Skip to content

Commit

Permalink
chore: change default key-bindings for scrolling up/down
Browse files Browse the repository at this point in the history
Page up/Page down should actually scroll page up and down
  • Loading branch information
JFreegman committed Feb 6, 2024
1 parent 5ad00f7 commit 3aa313b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions misc/toxic.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@ sounds = {
keys = {
next_tab="Ctrl+P";
prev_tab="Ctrl+O";
scroll_line_up="PAGEUP";
scroll_line_down="PAGEDOWN";
half_page_up="Ctrl+F";
half_page_down="Ctrl+V";
scroll_line_up="Ctrl+F";
scroll_line_down=Ctrl+V";
half_page_up="PAGEUP";
half_page_down=""PAGEDOWN";
page_bottom="Ctrl+H";
toggle_peerlist="Ctrl+B";
toggle_paste_mode="Ctrl+T";
Expand Down
8 changes: 4 additions & 4 deletions src/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,10 @@ static void key_defaults(Client_Config *settings)
{
settings->key_next_tab = T_KEY_NEXT;
settings->key_prev_tab = T_KEY_PREV;
settings->key_scroll_line_up = KEY_PPAGE;
settings->key_scroll_line_down = KEY_NPAGE;
settings->key_half_page_up = T_KEY_C_F;
settings->key_half_page_down = T_KEY_C_V;
settings->key_scroll_line_up = T_KEY_C_F;
settings->key_scroll_line_down = T_KEY_C_V;
settings->key_half_page_up = KEY_PPAGE;
settings->key_half_page_down = KEY_NPAGE;
settings->key_page_bottom = T_KEY_C_H;
settings->key_toggle_peerlist = T_KEY_C_B;
settings->key_toggle_pastemode = T_KEY_C_T;
Expand Down

0 comments on commit 3aa313b

Please sign in to comment.