⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 version5.txt

📁 MSYS在windows下模拟了一个类unix的终端
💻 TXT
📖 第 1 页 / 共 5 页
字号:
  This means there is a swap file, which can be used for recovery.Tags:- Included ctags 2.0 (Darren Hiebert).  The syntax for static tags changed  from	{tag}:{fname}	{fname}	{command}  to	{tag}	{fname}	{command};"	file:  Which is both faster to parse, shorter and Vi compatible.  The old format is  also still accepted, unless disabled in src/feature.h (see OLD_STATIC_TAGS).  |tags-file-format|- Completion of tags now also includes static tags for other files, at the  end.- Included "shtags" from Stephen Riehm.- When finding a matching tag, but the file doesn't exist, continue searching  for another match.  Helps when using the same tags file (with links) for  different versions of source code.- Give a tag with a global match in the current file a higher priority than a  global match in another file.Included xxd version V1.8 (Juergen Weigert).Autocommands:- VimLeave autocommands are executed after writing the viminfo file, instead  of before.  |VimLeave|- Allow changing autocommands while executing them.  This allows for  self-modifying autocommands. (idea from Goldberg)- When using autocommands with two or more patterns, could not split  ":if/:endif" over two lines.  Now all matching autocommands are executed in  one do_cmdline().- Autocommands no longer change the command repeated with ".".- Search patterns are restored after executing autocommands.  This avoids  that the 'hlsearch' highlighting is messed up by autocommands.- When trying to execute an autocommand, also try matching the pattern with  the short file name.  Helps when short file name is different from full  file name (expanded symbolic links). |autocmd-patterns|- Made the output of ":autocmd" shorter and look better.- Expand <sfile> in an ":autocmd" when it is defined.  |<sfile>|- Added "nested" flag to ":autocmd", allows nesting.  |autocmd-nested|- Added [group] argument to ":autocmd".  Overrides the currently set group.  |autocmd-groups|- new events:  |BufUnload|		before a buffer is unloaded  |BufDelete|		before a buffer is deleted from the buffer list  |FileChangedShell|	when a file's modification time has changed after			executing a shell command  |User|		user-defined autocommand- When 'modified' was set by a BufRead* autocommand, it was reset again  afterwards.  Now the ":set modified" is remembered.GUI:- Improved GUI scrollbar handling when redrawing is slower than the scrollbar  events are generated.- "vim -u NONE" now also stops loading the .gvimrc and other GUI inits.  |-u|  Use "-U" to use another gvimrc file.  |-U|- Handle CTRL-C for external command, also for systems where "setsid()" is  supported.- When starting the GUI, restrict the window size to the screen size.- The default menus are read from $VIMRUNTIME/menu.vim.  This allows for a  customized default menu.  |menu.vim|- Improved the default menus.  Added File/Print, a Window menu, Syntax menu,  etc.- Added priority to the ":menu" command.  Now each menu can be put in a place  where you want it, independent of the order in which the menus are defined.  |menu-priority|Give a warning in the intro screen when running the Win32 console version onWindows 95 because there are problems using this version under Windows 95.|win32-problems|Added 'e' flag for ":substitute" command: Don't complain when not finding amatch (Campbell).  |:s|When using search commands in a mapping, only the last one is kept in thehistory.  Avoids that the history is trashed by long mappings.Ignore characters after "ex", "view" and "gvim" when checking startup mode.Allows the use of "gvim5" et. al.  |gvim| "gview" starts the GUI in readonlymode.  |gview|When resizing windows, the cursor is kept in the same relative position, ifpossible.  (Webb)":all" and ":ball" no longer close and then open a window for the same buffer.Avoids losing options, jumplist, and other info."-f" command-line argument is now ignored if Vim was compiled without GUI.|-f|In Visual block mode, the right mouse button picks up the nearest corner.Changed default mappings for DOS et al.  Removed the DOS-specific mappings,only use the Windows ones.  Added Shift-Insert, Ctrl-Insert, Ctrl-Del andShift-Del.Changed the numbers in the output of ":jumps", so you can see where {count}CTRL-O takes you.  |:jumps|Using "~" for $HOME now works for all systems.  |$HOME|Unix: Besides using CTRL-C, also use the INTR character from the tty settings.Somebody has INTR set to DEL.Allow a <LF> in a ":help" command argument to end the help command, so anothercommand can follow.Doing "%" on a line that starts with "   #if" didn't jump to matching "#else".Don't recognize "#if", "#else" etc. for '%' when 'cpo' contains the '%' flag.|%|Insert mode expansion with "CTRL-N", "CTRL-P" and "CTRL-X" improved|ins-completion|:- 'complete' option added.- When 'nowrapscan' is set, and no match found, report the searched direction  in the error message.- Repeating CTRL-X commands adds following words/lines after the match.- When adding-expansions, accept single character matches.- Made repeated CTRL-X CTRL-N not break undo, and "." repeats the whole  insertion.  Also fixes not being able to backspace over a word that has been  inserted with CTRL-N.When copying characters in Insert mode from previous/next line, with CTRL-E orCTRL-Y, 'textwidth' is no longer used.  |i_CTRL-E|Commands that move in the arglist, like ":n" and ":rew", keep the old cursorposition of the file (this is mostly Vi compatible).Vim now remembers the '< and '> marks for each buffer.  This fixes a problemthat a line-delete in one buffer invalidated the '< and '> marks in anotherbuffer.  |'<|For MSDOS, Unix and OS/2: When $VIM not set, use the path from the executable.When using the executable path for $VIM, remove "src/" when present.  Shouldmake Vim find the docs and syntax files when it is run directly aftercompiling.  |$VIM|When quitting Visual mode with <Esc>, the cursor is put at start of the Visualarea (like after executing an operator).Win32 and Unix version: Removed 1100 character limit on external commands.Added possibility to include a space in a ":edit +command" argument, byputting a backslash before it.  |+cmd|After recovery, BufReadPost autocommands are applied.  |:recover|Added color support for "os2ansi", OS/2 console. (Slootman) |os2ansi|Allow "%:p:h" when % is empty.  |:_%|Included "<sfile>": file name from the ":source" command.  |<sfile>|Added "<Bslash>" special character.  Helps for avoiding multiple backslashesin mappings and menus.In a help window, a double-click jumps to the tag under the cursor (likeCTRL-]).<C-Left> and <C-Right> now work like <S-Left> and <S-Right>, move a wordforward/backward (Windows compatible). |<C-Left>|Removed the requirement for a ":version" command in a .vimrc file.  It wasn'tused for anything.  You can use ":if" to handle differences between versions.|:version|For MS-DOS, Win32 and OS/2: When comparing file names for autocommands, don'tmake a difference between '/' and '\' for path separator.New termcap options:"mb": blink.  Can only be used by assigning it to one of the other highlight      options.  |t_mb|"bc": backspace character.  |t_bc|"nd": Used for moving the cursor right in the GUI, to avoid removing one line      of pixels from the last bold character.  |t_nd|"xs": highlighting not erased by overwriting, for hpterm.  Combined with      'weirdinvert'.  Visual mode works on hpterm now.  |t_xs|Unix: Set time of patch and backup file same as original file.  (Hiebert).Amiga: In QuickFix mode no longer opens another window.  Shell commands can beused now.Added decmouse patches from David Binette.  Can now use Dec and Netterm mouse.But only when enabled at compile time.Added '#' register: Alternate file name |quote#|.  Display '#' register with":dis" command. |:display|Removed ':' from 'isfname' default for Unix.  Check for "://" in a file nameanyway.  Also check for ":\\", for MS-DOS.Added count to "K"eyword command, when 'keywordprg' is "man", is inserted inthe man command.  "2K" results in "!man 2 <cword>".  |K|When using "gf" on a relative path name, remove "../" from the file name, likeit's done for file names in the tags file. |gf|When finishing recording, don't make the recorded register the default putregister.When using "!!", don't put ":5,5!" on the command-line, but ":.!".  And someother enhancements to replace the line number with "." or "$" when possible.MSDOS et al.: Renamed $VIM/viminfo to $VIM/_viminfo.  It's more consistent:.vimrc/_vimrc and .viminfo/_viminfoFor systems where case doesn't matter in file names (MSDOS, Amiga), ignorecase while sorting file names.  For buffer names too.When reading from stdin doesn't work, read from stderr (helps for "foo | xargsvim").32 bit MS-DOS version: Replaced csdpmi3 by csdpmi4.Changed <C-Left> and <C-Right> to skip a WORD instead of a word.Warning for changed modified time when overwriting a file now also works onother systems than Unix.Unix: Changed the defaults for configure to be the same as the defaults forMakefile: include GUI, Perl, and Python.Some versions of Motif require "-lXpm".  Added check for this in configure.Don't add "-L/usr/lib" to the link line, causes problems on a few systems.==============================================================================			     COMPILE TIME CHANGES	*compile-changes*When compiling, allow a choice for minimal, normal or maximal features in aneasy way, by changing a single line in src/feature.h.The DOS16 version has been compiled with minimal features to avoid runningout of memory too quickly. |dos16|The Win32, DJGPP, and OS/2 versions use maximal features, because they haveenough memory.The Amiga version is available with normal and maximal features.Added "make test" to Unix version Makefile.  Allows for a quick check if most"normal" commands work properly.  Also tests a few specific commands.Added setlocale() with codepage support for DJGPP version.autoconf:- Added autoconf check for -lXdmcp.- Included check for -lXmu, no longer needed to edit the Makefile for this.- Switched to autoconf 2.12.- Added configure check for <poll.h>.  Seems to be needed when including  Perl on Linux?- termlib is now checked before termcap.- Added configure check for strncasecmp(), stricmp() and strnicmp().  Added  vim_stricmp() for when there's no library function for stricmp().- Use "datadir" in configure, instead of our own check for HELPDIR.Removed "make proto" from Makefile.manx.  Could not make it work without a lotof #ifdefs.Removed "proto/" from paths in proto.h.  Needed for the Mac port.Drastically changed Makefile.mint.  Now it includes the Unix Makefile.Added support for Dos16 in Makefile.b32 (renamed Makefile.b32 to Makefile.bor)All source files are now edited with a tabstop of 8 instead of 4, which isbetter when debugging and using other tools.  'softtabstop' is set to 4, tomake editing easier.Unix: Added "link.sh" script, which removes a few unnecessary libraries fromthe link command.Don't use HPUX digraphs by default, but only when HPUX_DIGRAPHS is defined.|digraphs-default|==============================================================================				 BUG FIXES		*bug-fixes*Note:	Some of these fixes may only apply to test versions which were	created after version 4.6, but before 5.0.When doing ":bdel", try going to the next loaded buffer.  Don't rewind to thestart of the buffer list.mch_isdir() for Unix returned TRUE for "" on some systems.Win32: 'shell' set to "mksnt/sh.exe" breaks ":!" commands.  Don't usebackslashes in the temp file names.On linux, with a FAT file system, could get spurious "file xxx changed sinceediting started" messages, because the time is rounded off to two secondsunexpectedly.Crash in GUI, when selecting a word (double click) and then extend until anempty line.For systems where isdigit() can't handle characters > 255, get_number() causeda crash when moving the mouse during the prompt for recovery.In Insert mode, "CTRL-O P" left the cursor on the last inserted character.Now the cursor is left after the last putted character.When quickfix found an error type other than 'e' or 'w', it was never printed.A setting for 'errorfile' in a .vimrc overruled the "-q errorfile" argument.Some systems create a file when generating a temp file name.  Filtering wouldthen create a backup file for this, which was never deleted.  Now no backupfile is made when filtering.simplify_filename() could remove a ".." after a link, resulting in the wrongfile name.  Made simplify_filename also work for MSDOS.  Don't use it forAmiga, since it doesn't have "../".otherfile() was unreliable when using links.  Could think that reading/writingwas for a different file, when it was the same.Pasting with mouse in Replace mode didn't replace anything.Window height computed wrong when resizing a window with an autocommand (couldcause a crash).":s!foo!bar!" wasn't possible (Vi compatible).do_bang() freed memory twice when called recursively, because of autocommands(test11).  Thanks to Electric Fence!"v$d" on an empty line didn't remove the "-- VISUAL --" mode message from thecommand-line, and inverted the cursor.":mkexrc" didn't check for failure to open the file, causing a crash.(Felderhoff).Win32 mch_write() wrote past fixed buffer, causing terminal keys no longer tobe recognized.  Both console and GUI version.Athena GUI: Crash when removing a menu item.  Now Vim doesn't crash, but thereversing of the menu item is still wrong.Always reset 'list' option for the help window.When 'scrolloff' is non-zero, a 'showmatch' could cause the shown match to bein the wrong line and the window to be scrolled (Acevedo).After ":set all&", 'lines' and 'ttytype' were still non-default, because thedefaults never got set.  Now the defaults for 'lines' and 'columns' are setafter detecting the window size. 'term' and 'ttytype' defaults are set whendetecting the terminal type.For (most) non-Unix systems, don't add file names with illegal characters whenexpanding.  Fixes "cannot open swapfile" error when doing ":e *.burp", whenthere is no match.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -