First thing first, I am on ubuntu 23.10, with nvidia RTX 2060 core i5-8400 24 GB RAM and OS on SSD, using "oh my fish" as shell but tried on good old bash too. neovim config is done by lazyvim.
But All vim based editors are slow for me, Keystrokes take seconds to registers, sometime it doesn't register at all until i smash few more keys and then it registers all the keys at once, the command window that pops up after pressing ":" to quit vim and neovim are especially very slow and that happens everytime, like if i have to quit vim/neovim pressing ":wq" doesn't render until i press arrow key, sometimes only w appear sometime nothing. tree sitter on neovim is also very sluggish, takes few seconds to over a minute to go inside a directory which is on ssd and have only 4-5 files,
VScode and even android studio runs smoothly, I have seen this issue in tmux too.
I have also tried starting the terminal with "launch using discrete graphic card" and issue is still there, what could be issue any ideas ?