summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 09410f03..d4001b49 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -1935,7 +1935,12 @@ do_pending_operator(cap, old_col, gui_yank)
break;
case OP_FORMAT:
- if (*p_fp != NUL)
+#if defined(FEAT_EVAL)
+ if (*curbuf->b_p_fex != NUL)
+ op_formatexpr(oap); /* use expression */
+ else
+#endif
+ if (*p_fp != NUL)
op_colon(oap); /* use external command */
else
op_format(oap, FALSE); /* use internal function */
@@ -7832,6 +7837,12 @@ nv_g_cmd(cap)
break;
#endif
+#ifdef FEAT_WINDOWS
+ case 't':
+ goto_tabpage((int)cap->count0);
+ break;
+#endif
+
default:
clearopbeep(oap);
break;