Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dirviewcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,8 @@ Binding dirviewbindings[] = {
{ Kend, cmdend },
{ Kpgup, cmdpageup },
{ Kpgdown, cmdpagedown },
{ Kleft, cmdpageup },
{ Kright, cmdpagedown },
nil
};

Expand Down
2 changes: 2 additions & 0 deletions help.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ char help[] =
"Key bindings:\n"
" Up - move selection to previous item\n"
" Down - move selection to next item\n"
" Left - move selection up one page\n"
" Right - move selection down one page\n"
" PageUp - move selection up one page\n"
" PageDown - move selection down one page\n"
" Home - move selection to the first element in the directory\n"
Expand Down
3 changes: 3 additions & 0 deletions viewercmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,15 @@ cmdpagedown(void)
}

Binding viewerbindings[] = {
{ KF|3, cmdquit },
{ KF|10, cmdquit },
{ Kup, cmdup },
{ Kdown, cmddown },
{ Khome, cmdhome },
{ Kend, cmdend },
{ Kpgup, cmdpageup },
{ Kpgdown, cmdpagedown },
{ Kesc, cmdquit },
nil
};

Expand All @@ -62,5 +64,6 @@ setupviewerbindings(void)
{
bindings = viewerbindings;
actionbarclear(abar);
actionbarset(abar, 3, "Quit", cmdquit);
actionbarset(abar, 10, "Quit", cmdquit);
}