Vim-netranger is a ranger-like system/cloud storage explorer for Vim/Neovim. It brings together the best of Vim, ranger, and rclone:
- Against Vim (netrw):
- Fancy rendering
- Supports various cloud storages (via rclone)
- Against ranger:
- Native Vim key-binding rather than just mimicking Vim
- Against rclone
- Display/modify remote content without typing commands in terminal
Using vim-plug
Plug 'ipod825/vim-netranger'
Note: Other explorer plugins (e.g. NERDTree) might prohibit vim-netranger
. You must disable them to make vim-netranger
work.
-
vim
&neovim
echo has('python3')
should output 1echo has('virtualedit')
should output 1
-
rclone
: v1.4.0(v1.3.9) or newer (1.4.0 not yet published, see Known Issues).rclone
is needed if you use remote editing features. However, it will be installed automatically on the first time runningNETRemoteList
command.
:help vim-netranger-usage
:help vim-netranger-rclone
:help vim-netranger-customization-mapping
:help vim-netranger-customization-option
:help vim-netranger-functions
:help vim-netranger-colors
:help vim-netranger-api
- When remote directory is empty, it will not be copied to remote. It is an rclone [bug] (rclone/rclone#1837), which is expected to be fixed in next release.
- In some cases when
listchars
is set,vim-netranger
buffer does not display correctly. For possible solutions, see the comment in this issue.
Pull request is welcomed. However, please run tests before sending pull request.
$ cd test
$ bash test.sh # test with visualization, xterm required
$ python test.py # test without visualization