kevinhwang91 / rnvimr

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

No longer able to split in the direction of my choosing #79

Closed victorchabbert closed 3 years ago

victorchabbert commented 3 years ago

Ranger

Python

Pynvim

Ueberzug (optional)

RPC

To Reproduce

Steps to reproduce the behavior:

  1. Provide any split argument like below
  2. Split in a direction

Example:

// Lua
vim.g.rnvimr_action = {
  ['gw'] = 'JumpNvimCwd',
  ['yw'] = 'EmitRangerCwd',
  ['†'] = 'NvimEdit tabedit', -- ALT+t
  ['˙'] = 'NvimEdit leftabove vsplit', -- ALT+h
  ['¬'] = 'NvimEdit rightbelow vsplit', -- ALT+l
  ['˚'] = 'NvimEdit leftabove split', -- ALT+k
  ['∆'] = 'NvimEdit rightbelow split' -- ALT+j
}

Expected behavior I can split in the direction of my choice.

Additional context It appears that this commit 8af7dda8 changed the behavior.

Let me know if you need additional info. Thanks

kevinhwang91 commented 3 years ago

Good bisect, Fixed, Thanks:)