Wansmer/treesj

Lag on space keypress even when default keybindings are not in use

sathishmanohar opened this issue · 3 comments

I use the space key to enter the command mode with nmap <space> : in my vim config

So I've disabled treesj's default mappings with use_default_keymaps = false, in favor of my custom mappings but there is still a noticeable delay of half a second to a second while using the spacebar.

Why you decided what delay comes from TreeSJ? Did you check :nmap <space>?

It only showed up when treesj was installed and enabled. Strangely, Now I have the treesj enabled but there is no delay now.

I thought it was treesj because the default mappings involved the space key.

I've been using nmap <space> : without any problems for years. So I didn't bother to look into it.

It only showed up when treesj was installed and enabled. Strangely, Now I have the treesj enabled but there is no delay now.

Great! Then I am closing an issue.