Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kovetskiy/neovim-move
:Move files with NeoVim
https://github.com/kovetskiy/neovim-move
dotfiles linux neovim neovim-plugin snake-ci vim vim-plugin
Last synced: 23 days ago
JSON representation
:Move files with NeoVim
- Host: GitHub
- URL: https://github.com/kovetskiy/neovim-move
- Owner: kovetskiy
- Created: 2020-06-14T19:54:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-30T14:22:14.000Z (over 4 years ago)
- Last Synced: 2024-08-07T18:43:19.812Z (3 months ago)
- Topics: dotfiles, linux, neovim, neovim-plugin, snake-ci, vim, vim-plugin
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# neovim-move
A pretty straightforward plugin for NeoVim. Does only one thing — moves files/directories.
Usage:
```
:Move []
```Features:
* Move one specified file: `:Move main.c test.c`;
* Move multiple specified files: `:Move main.c lib.c dst`;
* Move the current file (opened in the current buffer) to the destination. This is used if you invoke the command without
specifying the first argument: `:Move src/`;
* Move a file to a directory: `:Move main.c src/`;
* Move a directory to a directory: `:Move dir src/`;
* Move by glob to a directory: `:Move **/*.x xfiles/`;
* Creates nested directories if needed.
* Works asynchronously.And the most cool feature in here:
* Re-open files after moving them in-place. Glob supported.Neat things:
* Zero lines in Vim language have been used for writing the plugin. Everything is written in Python & NeoVim RPC
bindings.# Installation
```
Plug 'kovetskiy/neovim-move', { 'do' : ':UpdateRemotePlugins' }
```NOTE: Vim's restart is required due to the nature of _neovim remote plugins_.
# Testing
```
make test
```# License
MIT