Skip to content

Commit

Permalink
Add H key for cursor mode which works like the one in vim ##panels (r…
Browse files Browse the repository at this point in the history
  • Loading branch information
Vane11ope authored and radare committed Dec 30, 2019
1 parent 726033a commit 7296864
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libr/core/panels.c
Original file line number Diff line number Diff line change
Expand Up @@ -1935,6 +1935,10 @@ bool __handle_cursor_mode(RCore *core, const int key) {
case 'b':
__set_breakpoints_on_cursor (core, cur);
break;
case 'H':
cur->view->curpos = cur->view->sy;
cur->view->refresh = true;
break;
}
return true;
}
Expand Down

0 comments on commit 7296864

Please sign in to comment.