| Age | Commit message (Collapse) | Author | Files | Lines |
|
It was hard to read with everything on the same indentation level.
|
|
|
|
If vis-open is placed in a user's PATH and executed then $0 will be
vis-open's absolute path:
$ vis-open -h
usage: /usr/local/bin/vis-open [-h] [-p prompt] [file-pattern]
This isn't very pretty, so use basename(1) on $0:
$ vis-open -h
usage: vis-open [-h] [-p prompt] [file-pattern]
|
|
|
|
For this to work make sure you have vis-open and slmenu or dmenu
somewhere in $PATH.
For now the file dialog is shown for :open, :split and :vsplit
when the argument is either . (a dot) or looks like a file pattern.
For example
:open *.[ch]
will show a listing of all C source and header files in the current
directory. Use a fuzzy search to make your choice.
|