I absolutely love this feature. But i wish i could disable it in insert mode. because it feels like there is an input lag when i type in insert mode. Although there isnt one.
Good call. I will look into it. This may get me to actually build a setting system...
Thanks @Kethku
Adding to this the requirement that it should also have an option to disable animations to and from the commandline. Too many setups will animate to the line count or similar which is super distracting. It would be nice to instead have the cursor jump there, but remember where it was so that when it jumps back if it is in a different position, it will animate to the new position from the previous location instead of the command line or just jumping to the new place.
This is super important for keybindings which might incidentally write to the commandline.
+1. I specifically find it distracting that it jumps to the bottom row whenever I enter insert mode, so the cursor is no longer resting at it's original location.
This may get me to actually build a setting system...
fwiw, Nvim has dictwatcheradd() which was intended for this purpose, i.e. so plugins can listen to variables for changes, so they work like Vim "options". Example:
silent! call dictwatcherdel(g:, 'foo_*', 'OnDictChanged')
function! OnDictChanged(d,k,z)
echomsg string(a:k) string(a:z)
endfunction
call dictwatcheradd(g:, 'foo_*', 'OnDictChanged')
let g:foo_setting = 'baz'
Option support implemented like @justinmk suggested is now done. Closing this in favor of https://github.com/Kethku/neovide/issues/117
Most helpful comment
Good call. I will look into it. This may get me to actually build a setting system...