add keybinding to commit to know it is ctrl u/d
This commit is contained in:
parent
3a40477b0c
commit
c6e65fb0dc
1 changed files with 2 additions and 2 deletions
4
ccc.c
4
ccc.c
|
@ -139,7 +139,7 @@ int main(int argc, char** argv)
|
||||||
break;
|
break;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* jump up */
|
/* jump up (ctrl u)*/
|
||||||
case '\x15':
|
case '\x15':
|
||||||
if ((current_selection - JUMP_NUM) > 0)
|
if ((current_selection - JUMP_NUM) > 0)
|
||||||
current_selection -= JUMP_NUM;
|
current_selection -= JUMP_NUM;
|
||||||
|
@ -157,7 +157,7 @@ int main(int argc, char** argv)
|
||||||
highlight_current_line();
|
highlight_current_line();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* jump down */
|
/* jump down (ctrl d)*/
|
||||||
case '\x04':
|
case '\x04':
|
||||||
if ((current_selection + JUMP_NUM) < (files_len() - 1))
|
if ((current_selection + JUMP_NUM) < (files_len() - 1))
|
||||||
current_selection += JUMP_NUM;
|
current_selection += JUMP_NUM;
|
||||||
|
|
Loading…
Reference in a new issue