Bidirectional (bidi) text support in neovim.
bidi.nvim
aims to be a simple, easy-to-configure, and lightweight
plugin which adds a bidirectional display mode to neovim
on a per-buffer basis.
Currently, this is in early development.
I recommend using rosetta.nvim
in the meantime.
- Neovim
- GNU FriBidi
- A terminal/GUI with bidi capabilities disabled
- (A good font for multi-lingual typing is Cousine)
I plan to work extensively on bidi.nvim
this summer,
but feel free to suggest features or mention concerns before then.
- Ability to use exclusively in
rightleft
mode - Dynamic padding for RTL paragraphs
- GNU FriBidi piping
-
Bidi-Mode
toggleability -
Bidi-Mode
statusline option - Switch to
revins
automatically - Manually choose base direction
- Extensive testing
- Paste in properly in
Bidi-Mode
- Save files only in logical mode
There is an init.lua
in /test
.
It can also be used as a MWE for interior bugs.