Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Sep 12, 2022. It is now read-only.
/vim-netrangerPublic archive

A ranger-like system/cloud storage explorer for Vim, bringing together the best of Vim, ranger, and rclone.

License

NotificationsYou must be signed in to change notification settings

ipod825/vim-netranger

Repository files navigation

This repo is deprecated in favor ofranger.nvim.

vim-netranger

Build Status

Screen Shot

  • Copy/Cut/Paste in multiple windowscopy/cut/paste
  • Preview/Panel modepreview
  • Inline Renamerename
  • Batch Pick (visual mode) for Delete (or copy/cut)pick
  • New File/Directorynew
  • Sortsort
  • Open file with external programs (rifle)rifle
  • Image previewimage
  • Inline Searchsearch
  • Integration with built-in fold (zf)fold

Recent Update

  • Image preview is supported (Linux, X11). Please install ueberzug:pip install ueberzug
  • Bookmark functions are deprecated. Please use thirdparty plugins such asipod825/vim-bookmark.
  • The settingg:NETROpenCmd is now set toNETRNewTabdrop, which close the netranger buffer. If you prefer the old behavior, you can havelet g:NETROpenCmd=NETRTabdrop.
  • Preview window is on now by default. To turn it off, setg:NETRPreviewDefaultOn=v:false.

Vim-netranger is a ranger-like system/cloud storage explorer for Vim/Neovim. It brings together the best of Vim,ranger, andrclone:

  1. Against Vim (netrw):
    • Fancy rendering
    • Supports various cloud storages (via rclone)
  2. Against ranger:
    • Native Vim key-binding rather than just mimicking Vim
  3. Against rclone
    • Display/modify remote content without typing commands in terminal

Installation


Using vim-plug

Plug'ipod825/vim-netranger'

Note: Other explorer plugins (e.g.NERDTree) might prohibitvim-netranger. You must disable them to makevim-netranger work.

Requirements

  1. vim &neovim

    • echo has('python3') should output 1
    • echo has('virtualedit') should output 1
  2. rclone: v1.4.0(v1.3.9) or newer (1.4.0 not yet published, seeKnown Issues).rclone is needed if you use remote editing features. However, it will be installed automatically on the first time runningNETRemoteList command.

Workflow preferences

  1. If you are more used to tabpages, and want to always keep a netranger buffer for the project folder. Havelet g:NETROpenCmd = 'NETRTabdrop' in your vimrc.
  2. If you are more used to tabpages, but want to close the netranger when openning a file. Havelet g:NETROpenCmd = 'NETRNewTabdrop' in your vimrc.
  3. If you are not used to tabpages,let g:NETROpenCmd = 'NETRNewTabdrop' is still a good option for you. Otherwise, customize it to your favorite command.

Usage

:helpvim-netranger-usage

Remote storage

:helpvim-netranger-rclone

Customization

:helpvim-netranger-customization-mapping:helpvim-netranger-customization-option

Advanced Key mappings:

:helpvim-netranger-functions

Colors

:helpvim-netranger-colors

Python Api

:helpvim-netranger-api

Known Issues

  1. 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.
  2. In some cases whenlistchars is set,vim-netranger buffer does not display correctly. For possible solutions, see the comment in thisissue.
  3. taboo.vimincompatibility.

Contributing

Pull request is welcomed. However, please run tests before sending pull request.

Testing

$ cd test$ bash test.sh  # test with visualization, xterm required$ python test.py # test without visualization

Acknowledgements

Inspiration/codesnippet from other projects

  • NETRSearch filter in place inspired byfin.vim

About

A ranger-like system/cloud storage explorer for Vim, bringing together the best of Vim, ranger, and rclone.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp