summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-07-21 17:53:25 +0200
committerBram Moolenaar <Bram@vim.org>2015-07-21 17:53:25 +0200
commit165bc69d1b7f70ca9d5b657f35d0584ecb7b5183 (patch)
treec22d03e0ebc155a50b20749f8bedd84867a20a13 /src/normal.c
parent6561d52ecbe6e24d1b90403078cc8b76c53c42fc (diff)
downloadvim-git-165bc69d1b7f70ca9d5b657f35d0584ecb7b5183.tar.gz
patch 7.4.793v7.4.793
Problem: Can't specify when not to ring the bell. Solution: Add the 'belloff' option. (Christian Brabandt)
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/normal.c b/src/normal.c
index d5a011d18..599b12ac1 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -1880,7 +1880,7 @@ do_pending_operator(cap, old_col, gui_yank)
VIsual_reselect = FALSE; /* don't reselect now */
if (empty_region_error)
{
- vim_beep();
+ vim_beep(BO_OPER);
CancelRedo();
}
else
@@ -1897,7 +1897,7 @@ do_pending_operator(cap, old_col, gui_yank)
{
if (!gui_yank)
{
- vim_beep();
+ vim_beep(BO_OPER);
CancelRedo();
}
}
@@ -1915,7 +1915,7 @@ do_pending_operator(cap, old_col, gui_yank)
VIsual_reselect = FALSE; /* don't reselect now */
if (empty_region_error)
{
- vim_beep();
+ vim_beep(BO_OPER);
CancelRedo();
}
else
@@ -1989,7 +1989,7 @@ do_pending_operator(cap, old_col, gui_yank)
case OP_ROT13:
if (empty_region_error)
{
- vim_beep();
+ vim_beep(BO_OPER);
CancelRedo();
}
else
@@ -2023,7 +2023,7 @@ do_pending_operator(cap, old_col, gui_yank)
#ifdef FEAT_VISUALEXTRA
if (empty_region_error)
{
- vim_beep();
+ vim_beep(BO_OPER);
CancelRedo();
}
else
@@ -2056,7 +2056,7 @@ do_pending_operator(cap, old_col, gui_yank)
restart_edit = restart_edit_save;
}
#else
- vim_beep();
+ vim_beep(BO_OPER);
#endif
break;
@@ -2066,7 +2066,7 @@ do_pending_operator(cap, old_col, gui_yank)
if (empty_region_error)
#endif
{
- vim_beep();
+ vim_beep(BO_OPER);
CancelRedo();
}
#ifdef FEAT_VISUALEXTRA
@@ -5359,7 +5359,7 @@ nv_exmode(cap)
* Ignore 'Q' in Visual mode, just give a beep.
*/
if (VIsual_active)
- vim_beep();
+ vim_beep(BO_EX);
else if (!checkclearop(cap->oap))
do_exmode(FALSE);
}
@@ -9055,7 +9055,7 @@ nv_esc(cap)
redraw_curbuf_later(INVERTED);
}
else if (no_reason)
- vim_beep();
+ vim_beep(BO_ESC);
clearop(cap->oap);
/* A CTRL-C is often used at the start of a menu. When 'insertmode' is