" N go to next patch chunk",
" P go to previous patch chunk",
" C go to next conflicted chunk",
- " O move cursor to alternate pane",
+ " C-X-o O move cursor to alternate pane",
" ^ control-A go to start of line",
" $ control-E go to end of line",
"",
}
#define META(c) ((c)|0x1000)
#define SEARCH(c) ((c)|0x2000)
+#define CTRLX(c) ((c)|0x4000)
move(rows, 0);
(void)attrset(A_NORMAL);
if (num >= 0) {
}
if (meta & META(0))
addstr("ESC...");
+ if (meta & CTRLX(0))
+ addstr("C-x ");
if (meta & SEARCH(0)) {
if (searchdir < 0)
addstr("Backwards ");
case META(27):
meta = META(0);
break;
+
+ case 'X'-64:
+ case META('X'-64):
+ meta = CTRLX(0);
+ break;
+
case META('<'): /* start of file */
start:
tpos = pos; row++;
curs.target = 1000;
break;
+ case CTRLX('o'):
case 'O':
curs.alt = !curs.alt;
if (curs.alt && mode == (ORIG|RESULT))