Skip to main content
8 events
when toggle format what by license comment
Feb 17, 2020 at 16:19 vote accept jalanb
Feb 13, 2020 at 14:10 comment added Rich @jalanb I went a bit overboard with the feedkeys use in my original answer. I've updated it to only use it where necessary (for replaying the keypress that the user typed).
Feb 13, 2020 at 14:09 history edited Rich CC BY-SA 4.0
Remove unnecessary feedkeys. Just use ex commands.
Feb 8, 2020 at 10:59 comment added Rich @jalanb Glad I could help! :D
Feb 8, 2020 at 4:41 comment added jalanb Which defaults to 1000 vimdoc.sourceforge.net/htmldoc/options.html#'timeoutlen', but easily changed with tm
Feb 8, 2020 at 4:38 comment added jalanb &timeout is an "option" vimdoc.sourceforge.net/htmldoc/usr_41.html#41.3
Feb 8, 2020 at 4:18 comment added jalanb You got me at "wouldn't necessarily recommend this", but just reading yours brought my vim code up a level. Yesterday I kinda knew those things were possible, today I have feedkeys()! All I do all day is feed keys to vim! This is could be a life-changer...
Feb 6, 2020 at 16:54 history answered Rich CC BY-SA 4.0