z for vim
Shell
Pull request Compare This branch is 9 commits behind rupa:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README documentation Mar 4, 2011
v
v.1 documentation Mar 4, 2011

README

V(1)                             User Commands                            V(1)



NAME
       v - z for vim


SYNOPSIS
       v [-a] [-l] [-[0-9]] [--debug] [--help] [regex1 regex2 ... regexn]


AVAILABILITY
       bash, vim


DESCRIPTION
       v  uses  viminfo's list of recently edited files to open one quickly no
       matter where you are in the filesystem.

       By default, it will open the most recently edited file matching all  of
       the provided regular expressions.


OPTIONS
       -a           don't skip deleted files
       -l           when multiple matches, show a list
       -[0-9]       edit nth most recent file
       --debug      dry run
       --help       show a brief help message


EXAMPLES
       v            list and choose from all files
       v -1         reopen most recently edited file
       v foo bar    edit first file matching foo and bar
       v -l foo bar list and choose files matching foo and bar


NOTES
       Shell  variables, such as $, must be escaped if used in regular expres‐
       sions.

       Behavior
       The default behavior is to open the most recent file that  matches  the
       search terms, even if there are multiple matches.

       You  may  find  it  useful  to alias vl='v -l'. When there are multiple
       matches, this will prompt for a choice, rather than editing  the  first
       match.  The  author  is  still  not  sure  which behavior should be the
       default, and has chosen one provisionally.


SEE ALSO
       vim(1), regex(7)

       Please file bugs at https://github.com/rupa/v/



v                                February 2011                            V(1)