Чтв, 19 Авг 2010, eliweiq001 писал(а): > > > On 8月19日, 下午7时11分, Christian Brabandt <[email protected]> wrote: > [---=| Quote block shrunk by t-prot: 27 lines snipped |=---] > > > > com! -complete=dir -nargs=? EditLastModified :exe ':tabe ' . > > OpenLastModified(<q-args>) > > #v- > > > > Use :OpenLastModified to open the last modified file in your current > > working directory or optionally use tab completion to use any other > > directory. > > > > regards > > Christian > > > Thanks very much! > I will try it. > And exactly I want to open the lastest modified *.c file. > How to put this .c into your function?
If you want to open the latest modified file by vim, you the use the RecentFiles.vim plugin (there are some others, but I cannot recall their names), which can display a list of most recently used files. -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
