aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-07-10 17:56:28 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-07-10 18:03:24 +0200
commita657e8499ab04bf8b9b4ffcb954acee574d239a1 (patch)
tree7aa7af07677a5b24955230e9da2d708b8abb1ec3 /Makefile
parent29b718e1d2b94f95281911c80ec5460cbd7fc526 (diff)
downloadvis-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--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 31dd931..e2fcf38 100644
--- a/Makefile
+++ b/Makefile
@@ -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