aboutsummaryrefslogtreecommitdiff
path: root/vis-open
AgeCommit message (Collapse)AuthorFilesLines
2016-05-22vis: always start vis-menu with -b flagMarc André Tanner1-1/+1
2016-05-16vis: introduce vis-menu helper scriptMarc André Tanner1-12/+2
This serves as a wrapper around dmenu(1) and slmenu(1), by default the latter is preferred because it also works without an X server. The program and its default arguments can be configured by means of the $VIS_MENU and $VIS_MENU_ARGS environment variables. Eventually we might decide to inlcude a stripped down version of slmenu in the vis source tree.
2016-04-15vis: improve handling of ~ and environment variables when opening filesMarc André Tanner1-1/+1
2016-01-09vis-open: Fix indentationMichael Reed1-3/+3
It was hard to read with everything on the same indentation level.
2016-01-09vis-open: Print error message to stderrMichael Reed1-1/+1
2016-01-09vis-open: Use basename of $0 in usage messageMichael Reed1-1/+1
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]
2015-11-23vis: use file open dialog for all directoriesMarc André Tanner1-0/+1
2015-07-10vis: add a file open dialogMarc André Tanner1-0/+47
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.