Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rupa/v
z for vim
https://github.com/rupa/v
Last synced: 30 days ago
JSON representation
z for vim
- Host: GitHub
- URL: https://github.com/rupa/v
- Owner: rupa
- Created: 2011-03-02T07:51:55.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2019-07-08T18:58:50.000Z (over 5 years ago)
- Last Synced: 2024-10-07T03:49:21.697Z (about 1 month ago)
- Language: Roff
- Homepage:
- Size: 11.7 KB
- Stars: 445
- Watchers: 12
- Forks: 38
- Open Issues: 12
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
V(1) User Commands V(1)
NAME
v - z for vimSYNOPSIS
v [-a] [-c] [-l] [-[0-9]] [--debug] [--help] [regex1 regex2 ... regexn]AVAILABILITY
bash, vimINSTALLATION
Put v somewhere in $PATH (e.g. /usr/local/bin/).
For the manual page, put v.1 somewhere in $MANPATH (e.g.
/usr/local/man/man1/).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
-c restrict matches to subdirectories of the current dir
-l when multiple matches, show a list
-[0-9] edit nth most recent file
--debug dry run
--help show a brief help messageEXAMPLES
v list and choose from all files
v -0 reopen most recently edited file
v foo bar edit first file matching foo and bar
v -c foo bar choose files in current dir matching foo and bar
v -l foo bar list and choose files matching foo and barNOTES
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)