give a list of top 200 most frequently used commands in a app, such as emacs or vim.Let's say we want to find the keyboard efficiency of 2 apps. How to Compute a Keybinding's Efficiency? No wonder i have a hard time deciding on the Tab keybinding. So, in order to know, you actually have to have a sense of the score of each and every 圜mds's frequency, and their keybinding, and each's keybinding score. The higher ease score means more efficient. To get the ease score for a list of commands, simply compute each and sum them up. ) => ( frequency( x) * key_ease_score(get_key_shortcut( x)))) Ĭonst total = scores. the ease score of a given command list commandList and their keybindings The above formula says, to get the ease score for command xCmd, you get its frequency of use, and get the ease score of its keybinding, and multiply them together. So, back to our question, of using Tab for completion is better, or is Tab as prefix key for a bunch of commands better? It can be computed this way: // the ease score of a given command "completion" and its keybindingįrequency( "completion") * key_ease_score( get_key_shortcut( "completion") ) Keybinding score of a set of keybindings is the sum of each's score.Īnd how to compute a keybinding's score? it's this:įrequency(cmd) * key_ease_score(get_key_shortcut(cmd)) Let's say the set of commands i might want to use Tab as prefix key are 圜mds, where 圜mds is first one, 圜mds is second one, etc, up to 圜mds.let's say that one frequently command is keyword completion, but let's just call it xCmd.Can't fit 10 pigeons in 1 hole, the pigeon hole principle! NO, the point is, for each 1 easy key, there are 10 commands wanting to use it. Well, let's just use another easy key on keyboard. Their frequency of use together, might be twice higher than the completion command.īut if you use tab as in Tab key for these commands, but then you lose your so super easy single key for the super important completion command! what can you do? The completion command, but when counting Oh, but, there are 10 other commands, although less frequently used than If you set it to one most used command, how wonderful, just one single key right under your thumb! The question is, which use of the Tab key is more efficient?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |