onivim / oni

Oni: Modern Modal Editing - powered by Neovim
https://www.onivim.io
MIT License
11.36k stars 300 forks source link

Change cursor on loss of focus #2657

Open dileep-kishore opened 5 years ago

dileep-kishore commented 5 years ago

Oni Version: v0.3.7-beta3 Neovim Version (Linux only): v0.3.1 Operating System: Manjaro Linux

Issue: The cursor in Oni when the window is inactive oni_cursor

The cursor in neovim when the window is inactive nvim_cursor

Expected behavior: I expect the cursor to change when the window loses focus. Is there a way I can enable this? It gets confusing when using a tiling window manager.

CrossR commented 5 years ago

We do currentlty have other behaviour for when Oni loses focus, I think this should just be a case of ensuring that Neovim is also made aware of the focus lost event, such that it can change the cursor?