mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.0206
This commit is contained in:
24
src/normal.c
24
src/normal.c
@@ -74,6 +74,9 @@ static void nv_zet __ARGS((cmdarg_T *cap));
|
||||
static void nv_ver_scrollbar __ARGS((cmdarg_T *cap));
|
||||
static void nv_hor_scrollbar __ARGS((cmdarg_T *cap));
|
||||
#endif
|
||||
#ifdef FEAT_GUI_TABLINE
|
||||
static void nv_tabline __ARGS((cmdarg_T *cap));
|
||||
#endif
|
||||
static void nv_exmode __ARGS((cmdarg_T *cap));
|
||||
static void nv_colon __ARGS((cmdarg_T *cap));
|
||||
static void nv_ctrlg __ARGS((cmdarg_T *cap));
|
||||
@@ -418,6 +421,9 @@ static const struct nv_cmd
|
||||
{K_VER_SCROLLBAR, nv_ver_scrollbar, 0, 0},
|
||||
{K_HOR_SCROLLBAR, nv_hor_scrollbar, 0, 0},
|
||||
#endif
|
||||
#ifdef FEAT_GUI_TABLINE
|
||||
{K_TABLINE, nv_tabline, 0, 0},
|
||||
#endif
|
||||
#ifdef FEAT_FKMAP
|
||||
{K_F8, farsi_fkey, 0, 0},
|
||||
{K_F9, farsi_fkey, 0, 0},
|
||||
@@ -4977,6 +4983,22 @@ nv_hor_scrollbar(cap)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_GUI_TABLINE
|
||||
/*
|
||||
* Click in GUI tab.
|
||||
*/
|
||||
static void
|
||||
nv_tabline(cap)
|
||||
cmdarg_T *cap;
|
||||
{
|
||||
if (cap->oap->op_type != OP_NOP)
|
||||
clearopbeep(cap->oap);
|
||||
|
||||
/* Even if an operator was pending, we still want to jump tabs. */
|
||||
goto_tabpage(current_tab);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* "Q" command.
|
||||
*/
|
||||
@@ -5329,7 +5351,7 @@ nv_ident(cap)
|
||||
else if (g_cmd)
|
||||
STRCPY(buf, "tj ");
|
||||
else
|
||||
STRCPY(buf, "ta ");
|
||||
sprintf((char *)buf, "%ldta ", cap->count0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user