vimium
vimium copied to clipboard
How to deselect text?
Say I went to some website and used visual mode(or just mouse) to select a certain block of text as shown below:
Now how can I deselect this text using keyboard itself that is using only vimium? With mouse, I would just click on empty space(or div) which would deselect that text(and remove the blue highlight). When I press f however, I can see many links, but there is no dummy link where I can just simulate a click of my mouse to deselect the above selected text.
I also tried pressing escape, which doesn't do much.
Um, currently Vimium has no such key binding to collapse a selection range.
Oh I see, however is there a vim way to do it? Like in normal vim, I think if you go back to normal mode by pressing escape,the selection gets disappeared. Is there any other way to do this?
Not in Vimium.
The below is an AD for another extension: I have a customized version of Vimium - Vimium C (https://github.com/gdh1995/vimium-c), and it extends many usages, including:
- if in insert mode,
<esc>
blurs the current text box - or try collapsing a selection
- or move focus to a parent iframe
- or if hold on
<esc>
, blur a current focused element, even when it's not editable.
+1 for implementing deselection. Great addon btw :sunglasses:
press /
(search nothing) and ESC
works for me.