sjbach / lusty

LustyExplorer / LustyJuggler for Vim
http://www.vim.org/scripts/script.php?script_id=1890
257 stars 30 forks source link

Patch to allow arbitrary paths when running lust file explorer. #24

Closed milkypostman closed 13 years ago

milkypostman commented 13 years ago

This modifies the command so that you can run lusty with any arbitrary path. There are a number of functions in the FilesystemExplorer class that could be removed run_from_wd and run_from_here. You can do the former just by running LustyFilesystemExplorer and the latter by running LustyFilesystemExplorerFromHere but the internal functions are changed. Allows for the following:

:map <leader>lt :LustyFilesystemExplorer "/tmp"<CR>
sjbach commented 13 years ago

Cool, good idea. Merged - thanks!