proton icon indicating copy to clipboard operation
proton copied to clipboard

key delay

Open zer09 opened this issue 7 years ago • 5 comments

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

zer09 avatar May 15 '17 15:05 zer09

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

geksilla avatar May 15 '17 16:05 geksilla

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.

zer09 avatar May 15 '17 16:05 zer09

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

geksilla avatar May 15 '17 18:05 geksilla

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

dvcrn avatar May 16 '17 01:05 dvcrn

@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.

zer09 avatar May 16 '17 02:05 zer09