dvcrn / proton

space-atom. spacemacs and sublimious style editing in atom
GNU General Public License v3.0
565 stars 55 forks source link

key delay #271

Open zer09 opened 7 years ago

zer09 commented 7 years ago

I got this weird delay on the letter "f" key. when typing then the word has "f" letter, upon pressing it gives a long delay before it typed on. I think delay is around 1.5 to 2 seconds.

thanks

geksilla commented 7 years ago

@zer09 can you turn on Keybinding Resolver with Ctrl+. and check what command invokes when you type "f"?

zer09 commented 7 years ago

when I type "f" first I got this f partial

then it will pause a moment, then the letter "f" comes up on the editor, then I got this f

thanks.

geksilla commented 7 years ago

I believe that this is caused by f d keymap which is defined in your .proton

{:selector "atom-text-editor.vim-mode-plus:not(.normal-mode)" :keymap [["f d" "vim-mode-plus:activate-normal-mode"]]}

Not sure is this a bug of vim-mode-plus or atom itself. It seems like partial binding resolves with some delay. If you don't use f d just remove mentioned keymap from :keymaps in your .proton

dvcrn commented 7 years ago

Correct that's the f d keymap. It's a quicker and more ergonomic way to escape from insert mode (similar to the often used jj).

You can just continue typing and it will work normally. Just hitting f by itself with nothing else will produce what you see

zer09 commented 7 years ago

@geksilla thanks, i just remap it on . p this is the keymap on my spacemacs.

@dvcrn is there an option to decrease the delay? it feels so long to me. I like to set it atleast 0.5 or lower. thanks.