diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-07-10 17:56:28 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-07-10 18:03:24 +0200 |
| commit | a657e8499ab04bf8b9b4ffcb954acee574d239a1 (patch) | |
| tree | 7aa7af07677a5b24955230e9da2d708b8abb1ec3 /Makefile | |
| parent | 29b718e1d2b94f95281911c80ec5460cbd7fc526 (diff) | |
| download | vis-a657e8499ab04bf8b9b4ffcb954acee574d239a1.tar.gz vis-a657e8499ab04bf8b9b4ffcb954acee574d239a1.tar.xz | |
vis: add a file open dialog
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.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -34,6 +34,8 @@ install: vis @mkdir -p ${DESTDIR}${PREFIX}/bin @cp -f vis ${DESTDIR}${PREFIX}/bin @chmod 755 ${DESTDIR}${PREFIX}/bin/vis + @cp -f vis-open ${DESTDIR}${PREFIX}/bin + @chmod 755 ${DESTDIR}${PREFIX}/bin/vis-open @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 @mkdir -p ${DESTDIR}${MANPREFIX}/man1 @sed "s/VERSION/${VERSION}/g" < vis.1 > ${DESTDIR}${MANPREFIX}/man1/vis.1 |
