sponsor Vim development Vim logo Vim Book Ad

fops : Intuitive Commands for File Operations

 script karma  Rating 0/0, Downloaded by 159  Comments, bugs, improvements  Vim wiki

created by
Connor Shugg
 
script type
utility
 
description
FOPS ("File Operations") is a Vim plugin that provides several commands used to interact with files on the filesystem. With FOPS, you can:

* Retrieve information from files
* Copy files
* Move files
* Rename files (full name, extension, name-minus-extension)
* Copy file path information into Vim registers (full path, dirname, basename, extension)
* Find files (and select one to edit)
* Display a file tree (and select one to edit)

When copying/moving/renaming/etc. files, you can seamlessly update your current Vim buffer to edit the new file. Unless you specify a file path, FOPS will operate on the file pointed at by your current Vim buffer.

See demonstrations of FOPS in action, as well as documentation and the latest source code, on the GitHub repository: https://github.com/cwshugg/fops.vim
 
install details
FOPS depends on Argonaut (vimscript #6115), which is used to provide command-line options and useful tab-completion for this plugin's commands. You'll need to install it alongside FOPS. Install with your favorite plugin manager; for example, if you use Vundle, drop this into your .vimrc:

```
Plugin 'cwshugg/argonaut.vim'
Plugin 'cwshugg/fops.vim'
```

Or, you can clone them manually:

```
$ git clone https://github.com/cwshugg/argonaut.vim ~/.vim/bundle/argonaut.vim
$ git clone https://github.com/cwshugg/fops.vim ~/.vim/bundle/fops.vim
```

Once you have it installed, give the documentation a read, by executing the following in Vim:

```
:h fops
```
 

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
fops_v1.0.tar.gz 1.0 2024-08-06 7.0 Connor Shugg Initial upload
ip used for rating: 13.58.157.160

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