mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
@@ -843,8 +843,6 @@ enum CMD_index
|
|||||||
BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR),
|
BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR),
|
||||||
EX(CMD_sfirst, "sfirst", ex_rewind,
|
EX(CMD_sfirst, "sfirst", ex_rewind,
|
||||||
EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR),
|
EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR),
|
||||||
EX(CMD_shell, "shell", ex_shell,
|
|
||||||
TRLBAR|CMDWIN),
|
|
||||||
EX(CMD_simalt, "simalt", ex_simalt,
|
EX(CMD_simalt, "simalt", ex_simalt,
|
||||||
NEEDARG|WORD1|TRLBAR|CMDWIN),
|
NEEDARG|WORD1|TRLBAR|CMDWIN),
|
||||||
EX(CMD_sign, "sign", ex_sign,
|
EX(CMD_sign, "sign", ex_sign,
|
||||||
|
@@ -155,7 +155,6 @@ static void ex_stop(exarg_T *eap);
|
|||||||
static void ex_exit(exarg_T *eap);
|
static void ex_exit(exarg_T *eap);
|
||||||
static void ex_print(exarg_T *eap);
|
static void ex_print(exarg_T *eap);
|
||||||
static void ex_goto(exarg_T *eap);
|
static void ex_goto(exarg_T *eap);
|
||||||
static void ex_shell(exarg_T *eap);
|
|
||||||
static void ex_preserve(exarg_T *eap);
|
static void ex_preserve(exarg_T *eap);
|
||||||
static void ex_recover(exarg_T *eap);
|
static void ex_recover(exarg_T *eap);
|
||||||
static void ex_mode(exarg_T *eap);
|
static void ex_mode(exarg_T *eap);
|
||||||
@@ -5722,14 +5721,6 @@ static void ex_goto(exarg_T *eap)
|
|||||||
goto_byte(eap->line2);
|
goto_byte(eap->line2);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* ":shell".
|
|
||||||
*/
|
|
||||||
static void ex_shell(exarg_T *eap)
|
|
||||||
{
|
|
||||||
do_shell(NULL, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
#if (defined(FEAT_WINDOWS) && defined(HAVE_DROP_FILE)) \
|
#if (defined(FEAT_WINDOWS) && defined(HAVE_DROP_FILE)) \
|
||||||
|| (defined(FEAT_GUI_GTK) && defined(FEAT_DND)) \
|
|| (defined(FEAT_GUI_GTK) && defined(FEAT_DND)) \
|
||||||
|| defined(FEAT_GUI_MSWIN) \
|
|| defined(FEAT_GUI_MSWIN) \
|
||||||
|
17
src/ui.c
17
src/ui.c
@@ -209,23 +209,6 @@ void ui_suspend(void)
|
|||||||
mch_suspend();
|
mch_suspend();
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(UNIX) || !defined(SIGTSTP) || defined(PROTO) || defined(__BEOS__)
|
|
||||||
/*
|
|
||||||
* When the OS can't really suspend, call this function to start a shell.
|
|
||||||
* This is never called in the GUI.
|
|
||||||
*/
|
|
||||||
void suspend_shell(void)
|
|
||||||
{
|
|
||||||
if (*p_sh == NUL)
|
|
||||||
EMSG(_(e_shellempty));
|
|
||||||
else {
|
|
||||||
MSG_PUTS(_("new shell started\n"));
|
|
||||||
do_shell(NULL, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Try to get the current Vim shell size. Put the result in Rows and Columns.
|
* Try to get the current Vim shell size. Put the result in Rows and Columns.
|
||||||
* Use the new sizes as defaults for 'columns' and 'lines'.
|
* Use the new sizes as defaults for 'columns' and 'lines'.
|
||||||
|
Reference in New Issue
Block a user