Fix VV: wheel issue and set scr.highlight via Vdh, V/ or VV/

This commit is contained in:
pancake 2014-09-28 04:01:31 +02:00
parent e3ef5f652c
commit 238bd6b6c4
2 changed files with 9 additions and 1 deletions

View File

@ -484,8 +484,13 @@ repeat:
curnode = cn;
// select jump node
break;
case '/':
r_core_cmd0 (core, "?i highlight;e scr.highlight=`?y`");
break;
case ':':
core->vmode = R_FALSE;
r_core_visual_prompt_input (core);
core->vmode = R_TRUE;
break;
case 'f':
cn = Edge_node (edges, curnode, 1);

View File

@ -1107,8 +1107,11 @@ R_API int r_core_visual_cmd(RCore *core, int ch) {
if (curset) {
visual_search (core);
} else {
if (!autoblocksize)
if (autoblocksize) {
r_core_cmd0 (core, "?i highlight;e scr.highlight=`?y`");
} else {
r_core_block_size (core, core->blocksize-cols);
}
}
break;
case '*':