-*eval.txt* For Vim version 7.0aa. Last change: 2005 Dec 12
+*eval.txt* For Vim version 7.0aa. Last change: 2005 Dec 19
VIM REFERENCE MANUAL by Bram Moolenaar
literally and compared to the
autocommand patterns character by
character)
+ #group autocommand group exists
+ #group#event autocommand defined for this group and
+ event.
+ #group#event#pattern
+ autocommand defined for this group,
+ event and pattern.
For checking for a supported feature use |has()|.
Examples: >
exists("*s:MyFunc")
exists("bufcount")
exists(":Make")
- exists("#CursorHold");
+ exists("#CursorHold")
exists("#BufReadPre#*.gz")
+ exists("#filetypeindent")
+ exists("#filetypeindent#FileType")
+ exists("#filetypeindent#FileType#*")
< There must be no space between the symbol (&/$/*/#) and the
name.
Note that the argument must be a string, not the name of the
amiga Amiga version of Vim.
arabic Compiled with Arabic support |Arabic|.
arp Compiled with ARP support (Amiga).
-autocmd Compiled with autocommands support.
+autocmd Compiled with autocommand support. |autocommand|
balloon_eval Compiled with |balloon-eval| support.
balloon_multiline GUI supports multiline balloons.
beos BeOS version of Vim.
hebrew.txt hebrew.txt /*hebrew.txt*
help various.txt /*help*
help-context help.txt /*help-context*
+help-tags tags 1
help-translated various.txt /*help-translated*
help-xterm-window various.txt /*help-xterm-window*
help.txt help.txt /*help.txt*
-*todo.txt* For Vim version 7.0aa. Last change: 2005 Dec 18
+*todo.txt* For Vim version 7.0aa. Last change: 2005 Dec 19
VIM REFERENCE MANUAL by Bram Moolenaar
- Have "zg" and "zw" report the file that was modified. (Marvin Renich)
- Add a command like "zg" that selects one of the files 'spellfile'.
+GTK: get an X error while exiting quickly after starting (running the tests).
+Caused by new GTK library?
+ X Error: BadWindow (invalid Window parameter) 3
+
Support saving and restoring session for X windows? It should work to do
":mksession" and use "-S fname" for the restart command. The
gui_x11_wm_protocol_handler() already takes care of the rest.
Are there more commands where v:swapcommand can be set to something useful?
+Put autocommand event names in a hashtable for faster lookup?
+
Awaiting response:
- Win32: tearoff menu window should have a scrollbar when it's taller than
the screen.
-*version7.txt* For Vim version 7.0aa. Last change: 2005 Dec 18
+*version7.txt* For Vim version 7.0aa. Last change: 2005 Dec 19
VIM REFERENCE MANUAL by Bram Moolenaar
inserted after the CTRL-O. Allows using CTRL-O commands to move the cursor
without losing the last inserted text.
+The exists() function now supports checking for autocmd group definition.
+(Yegappan Lakshmanan)
+
==============================================================================
COMPILE TIME CHANGES *compile-changes-7*
menutrans Jump\ &back<Tab>^T Skoèit\ &zpìt<Tab>^T
menutrans Build\ &Tags\ File &Vytvoøit\ soubor\ tagù
+menutrans &Spelling &Kontrola\ pravopisu
+menutrans &Spell\ Check\ On Kontrola\ pravopisu\ &zapnuta
+menutrans Spell\ Check\ &Off Kontrola\ pravopisu\ &vypnuta
+menutrans To\ Next\ error<Tab>]s &Dal\9aí\ chyba<Tab>]s
+menutrans To\ Previous\ error<Tab>[s &Pøedchozí\ chyba<Tab>[s
+menutrans Suggest\ Corrections<Tab>z? &Návrh\ oprav<Tab>z?
+menutrans Repeat\ correction<Tab>:spellrepall Zopakovat\ &opravu<Tab>:spellrepall
+menutrans Set\ language\ to\ "en" Nastav\ jazyk\ na\ "en"
+menutrans Set\ language\ to\ "en_au" Nastav\ jazyk\ na\ "en_au"
+menutrans Set\ language\ to\ "en_ca" Nastav\ jazyk\ na\ "en_ca"
+menutrans Set\ language\ to\ "en_gb" Nastav\ jazyk\ na\ "en_gb"
+menutrans Set\ language\ to\ "en_nz" Nastav\ jazyk\ na\ "en_nz"
+menutrans Set\ language\ to\ "en_us" Nastav\ jazyk\ na\ "en_us"
+menutrans Set\ language\ to\ "cz" Nastav\ jazyk\ na\ "cz"
+menutrans Set\ language\ to\ "cs_cz" Nastav\ jazyk\ na\ "cs_cz"
+menutrans &Find\ More\ Languages Nalézt\ dal\9aí\ &jazyky
+
menutrans &Folding &Foldy
menutrans &Enable/Disable\ folds<Tab>zi &Ano/Ne<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv &Zobrazit\ øádek\ kurzoru<Tab>zv
menutrans &Older\ List<Tab>:cold Sta&r\9aí\ seznam<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew N&ovìj\9aí\ seznam<Tab>:cnew
menutrans Error\ &Window Chybové\ o&kno
+menutrans SeT\ Compiler Nas&tavení\ kompilátoru
menutrans &Update<Tab>:cwin O&bnovit<Tab>:cwin
menutrans &Open<Tab>:copen &Otevøít<Tab>:copen
menutrans &Close<Tab>:cclose &Zavøít<Tab>:cclose
case K_S_UP: /* <S-Up> */
case K_PAGEUP:
case K_KPAGEUP:
+#ifdef FEAT_INS_EXPAND
if (pum_visible())
goto docomplete;
+#endif
ins_pageup();
break;
case K_S_DOWN: /* <S-Down> */
case K_PAGEDOWN:
case K_KPAGEDOWN:
+#ifdef FEAT_INS_EXPAND
if (pum_visible())
goto docomplete;
+#endif
ins_pagedown();
break;
#endif
ResetRedobuff();
AppendToRedobuff((char_u *)"1i"); /* pretend we start an insertion */
+ new_insert_skip = 2;
}
else if (ins_need_undo)
{
{
cmdline_paste(c, i == Ctrl_R);
+#ifdef FEAT_EVAL
/* When there was a serious error abort getting the
* command line. */
if (aborting())
putting it in history */
goto returncmd; /* back to cmd mode */
}
-
+#endif
KeyTyped = FALSE; /* Don't do p_wc completion. */
#ifdef FEAT_EVAL
if (new_cmdpos >= 0)
*
* return FAIL for failure, OK otherwise
*/
+/*ARGSUSED*/
int
del_bytes(count, fixpos, use_delcombine)
long count;
}
#endif
(void)del_bytes((long)n, restart_edit == NUL && !virtual_op,
- oap->op_type == OP_DELETE && !oap->is_VIsual);
+ oap->op_type == OP_DELETE
+#ifdef FEAT_VISUAL
+ && !oap->is_VIsual
+#endif
+ );
}
else /* delete characters between lines */
{
curwin->w_cursor.col = 0;
(void)del_bytes((long)(oap->end.col + 1 - !oap->inclusive),
restart_edit == NUL && !virtual_op,
- oap->op_type == OP_DELETE && !oap->is_VIsual);
+ oap->op_type == OP_DELETE
+#ifdef FEAT_VISUAL
+ && !oap->is_VIsual
+#endif
+ );
curwin->w_cursor = curpos; /* restore curwin->w_cursor */
(void)do_join(FALSE);
char_u *get_augroup_name __ARGS((expand_T *xp, int idx));
char_u *set_context_in_autocmd __ARGS((expand_T *xp, char_u *arg, int doautocmd));
char_u *get_event_name __ARGS((expand_T *xp, int idx));
-int au_exists __ARGS((char_u *name, char_u *name_end, char_u *pattern));
+int au_exists __ARGS((char_u *arg));
int match_file_pat __ARGS((char_u *pattern, regprog_T *prog, char_u *fname, char_u *sfname, char_u *tail, int allow_dirs));
int match_file_list __ARGS((char_u *list, char_u *sfname, char_u *ffname));
char_u *file_pat_to_reg_pat __ARGS((char_u *pat, char_u *pat_end, char *allow_dirs, int no_bslash));
int b_start_ffc; /* first char of 'ff' when edit started */
#ifdef FEAT_MBYTE
char_u *b_start_fenc; /* 'fileencoding' when edit started or NULL */
+ int b_bad_char; /* "++bad=" argument when edit started or 0 */
#endif
#ifdef FEAT_EVAL
#define VIM_VERSION_NODOT "vim70aa"
#define VIM_VERSION_SHORT "7.0aa"
#define VIM_VERSION_MEDIUM "7.0aa ALPHA"
-#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Dec 18)"
-#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Dec 18, compiled "
+#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Dec 19)"
+#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Dec 19, compiled "