kevinhwang91 / rnvimr

Make Ranger running in a floating window to communicate with Neovim via RPC
BSD 3-Clause "New" or "Revised" License
805 stars 17 forks source link

< C-T > and < C-X > and < C-V > is not effected on both macos and archlinux #53

Closed haha405pan closed 3 years ago

haha405pan commented 3 years ago

Ranger

Python

Pynvim

Ueberzug (optional)

RPC


**Describe the bug**
Like issues #15 
>  I'm using neovim, and I've also installed Ranger. After installing your plug-in, I can open the file with the Enter key, but it is invalid to use < C-T > and < C-X > and < C-V >. These three keys have no binding function.

FYI, I have checked out that `action.py`, `hacks.py`, `host.py`,  `service.py` are not in ~/.config/nvim/plugged/rnvimr/ranger/plugins.

**Expected behavior**
Expecting to get < C-T > and < C-X > and < C-V > to work.

Looking forward to your reply. Thanks in advance

Best regards,
Peter
kevinhwang91 commented 3 years ago
  1. What git log -1 inside rnvimr repo says?
  2. Do enter and l work as expected?
  3. Here is tree output for me:
    
    .
    ├── autoload
    │   ├── health
    │   │   └── rnvimr.vim
    │   ├── rnvimr
    │   │   ├── context.vim
    │   │   ├── layout.vim
    │   │   ├── rpc.vim
    │   │   └── util.vim
    │   └── rnvimr.vim
    ├── CHANGES
    ├── doc
    │   └── rnvimr.txt
    ├── LICENSE
    ├── plugin
    │   └── rnvimr.vim
    ├── ranger
    │   └── plugins
    │       ├── client.py
    │       ├── hacks.py
    │       ├── host.py
    │       ├── __init__.py
    │       ├── patch
    │       │   ├── action.py
    │       │   ├── ccommands.py
    │       │   ├── directory.py
    │       │   ├── __init__.py
    │       │   ├── loader.py
    │       │   ├── rifle.py
    │       │   ├── shutil_generatorized.py
    │       │   ├── statusbar.py
    │       │   ├── ueberzug.py
    │       │   ├── ui.py
    │       │   └── viewmiller.py
    │       ├── rcommand.py
    │       ├── rutil.py
    │       ├── service.py
    │       └── urc.py
    └── README.md

8 directories, 30 files

haha405pan commented 3 years ago
  1. commit 1eea861930ea7485992b17b2e2522a09226691e5 (grafted, HEAD -> main, origin/main, origin/HEAD)
    Author: kevinhwang91 <kevin.hwang@live.com>
    Date:   Thu Oct 29 16:47:07 2020 +0800
    
    fix(ui): kill redundant redraw
    
    I hate redundant redraw!!!
    I hate redundant redraw!!!
    I hate redundant redraw!!!
    (END)
  2. Yes, without any problem

  3. the output of tree are as follow:

├── CHANGES
├── LICENSE
├── README.md
├── autoload
│   ├── health
│   │   └── rnvimr.vim
│   ├── rnvimr
│   │   ├── context.vim
│   │   ├── layout.vim
│   │   ├── rpc.vim
│   │   └── util.vim
│   └── rnvimr.vim
├── doc
│   ├── rnvimr.txt
│   └── tags
├── plugin
│   └── rnvimr.vim
└── ranger
    └── plugins
        ├── __init__.py
        ├── __pycache__
        │   ├── __init__.cpython-38.opt-1.pyc
        │   ├── client.cpython-38.opt-1.pyc
        │   ├── hacks.cpython-38.opt-1.pyc
        │   ├── host.cpython-38.opt-1.pyc
        │   ├── rcommand.cpython-38.opt-1.pyc
        │   ├── rutil.cpython-38.opt-1.pyc
        │   ├── service.cpython-38.opt-1.pyc
        │   └── urc.cpython-38.opt-1.pyc
        ├── client.py
        ├── hacks.py
        ├── host.py
        ├── patch
        │   ├── __init__.py
        │   ├── __pycache__
        │   │   ├── __init__.cpython-38.opt-1.pyc
        │   │   ├── action.cpython-38.opt-1.pyc
        │   │   ├── ccommands.cpython-38.opt-1.pyc
        │   │   ├── directory.cpython-38.opt-1.pyc
        │   │   ├── loader.cpython-38.opt-1.pyc
        │   │   ├── rifle.cpython-38.opt-1.pyc
        │   │   ├── shutil_generatorized.cpython-38.opt-1.pyc
        │   │   ├── statusbar.cpython-38.opt-1.pyc
        │   │   ├── ueberzug.cpython-38.opt-1.pyc
        │   │   ├── ui.cpython-38.opt-1.pyc
        │   │   └── viewmiller.cpython-38.opt-1.pyc
        │   ├── action.py
        │   ├── ccommands.py
        │   ├── directory.py
        │   ├── loader.py
        │   ├── rifle.py
        │   ├── shutil_generatorized.py
        │   ├── statusbar.py
        │   ├── ueberzug.py
        │   ├── ui.py
        │   └── viewmiller.py
        ├── rcommand.py
        ├── rutil.py
        ├── service.py
        └── urc.py
haha405pan commented 3 years ago

I just updated the plugins, thoese files (action.py, hacks.py, host.py, service.py ) somehow reappear...

haha405pan commented 3 years ago

And it's working now!! Thanks!!

kevinhwang91 commented 3 years ago

Install rnvimr by Plug 'kevinhwang91/rnvimr', {'do': 'make sync'} Plug 'kevinhwang91/rnvimr'.