Add half screen up/down movements to command mode.

This commit is contained in:
Denis Kasak 2012-11-24 23:21:09 +01:00
parent c1567594c9
commit 30debe96ba
1 changed files with 6 additions and 0 deletions

View File

@ -544,6 +544,12 @@ gboolean key_press_cb(VteTerminal *vte, GdkEventKey *event, keybind_info *info)
case GDK_KEY_Right: case GDK_KEY_Right:
move_forward_blank_word(vte, &info->select); move_forward_blank_word(vte, &info->select);
break; break;
case GDK_KEY_u:
move(vte, &info->select, 0, -(vte_terminal_get_row_count(vte) / 2));
break;
case GDK_KEY_d:
move(vte, &info->select, 0, vte_terminal_get_row_count(vte) / 2);
break;
} }
return TRUE; return TRUE;
} }