]> git.gir.st - VimFx.git/commit
Improve `gi` text selection
authorSimon Lydell <simon.lydell@gmail.com>
Fri, 4 Dec 2015 19:37:10 +0000 (20:37 +0100)
committerSimon Lydell <simon.lydell@gmail.com>
Fri, 4 Dec 2015 19:37:10 +0000 (20:37 +0100)
commit33294354b9461419b87d5505820555dbb00cc341
treeaaa082a46337b3a1e7f36789a17f571c7db12fd5
parent57faacaa4b81ef05e43326e024023a31c1f86e8b
Improve `gi` text selection

Before you have focused a text input (a prevented autofocus does _not_ count),
`gi` now selects all text in the text input it focuses (before, it only did so
for inputs that had autofocus prevented). The reason is that many sites prefill
search boxes with your query on search results pages. Then it’s nice if `gi`
selects all the text, letting you quickly replace it.

This is a continuation of commit b3e8a037.
extension/lib/commands-frame.coffee
extension/lib/events-frame.coffee
extension/lib/vim-frame.coffee
Imprint / Impressum