sponsor Vim development Vim logo Vim Book Ad

flipdir.vim : Direcotry viewer

 script karma  Rating 5/2, Downloaded by 226  Comments, bugs, improvements  Vim wiki

created by
João Garcia
 
script type
utility
 
description
This plugin was inspired by the concept of split explorer presented by Drew Neil. It uses unix ls to list files and directory. If you don't like this, you can use vim globpath function with some adjusts. Check the github page https://github.com/jpaulogg/vim-flipdir

I switched from netrw to vim-dirvish when I started using a very old laptop and felt the need for a faster plugin. I think dirvish is a great plugin, but I found it a little difficult to make customizations, since I'm just a beginner in Vimscript. So I decided to write my own plugin, based on my use of dirvish.

Usage: '-' flips current window to parent directory. Use 'h' and 'l' (or <Cr>) to browse directories, 'l' (or <Cr>) to open files in the current window, 's' and 'v' to open files and directories in new windows. You can select more than one target in visual mode and then use 'l' or 'v' commands, for example.

Commands: Flipdir and Splitdir opens the parent directory or any path you pass as argument. For example, ':vert Sp $VIMRUNTIME' will open your runtime directory in a new vertical split.
 
install details
Use vim's built-in package support. From the shell:
curl -o flipdir.zip 'https://www.vim.org/scripts/download_script.php?src_id=27475'
unzip flipdir.zip -d ~/.vim/pack/start/
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-flipdir.zip v2 2021-02-09 7.0 João Garcia correcting temporary buffer management
vim-flipdir.zip v1 2021-02-07 7.0 João Garcia correct zip file
ip used for rating: 3.149.255.162

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github