Git Product home page Git Product logo

vim-netranger's Introduction

vim-netranger

Build Status Screenshot

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

  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 prohibit vim-netranger. You must disable them to make vim-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, see Known Issues). rclone is needed if you use remote editing features. However, it will be installed automatically on the first time running NETRemoteList command.

Usage

:help vim-netranger-usage

Remote storage

:help vim-netranger-rclone

Customization

:help vim-netranger-customization-mapping
:help vim-netranger-customization-option

Advanced Key mappings:

:help vim-netranger-functions

Colors

:help vim-netranger-colors

Python Api

:help vim-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 when listchars is set, vim-netranger buffer does not display correctly. For possible solutions, see the comment in this issue.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.