Open MITHX opened 7 years ago
I've added your request to the list of Todos. I think the option to open multiple links is important.
I'm not certain about what ctrl-f does. Are you asking for the ability to use modifier keys to change how a link is opened? The current implementation lets users open links in different ways (e.g. a new window, a background tab), but requires activating hints mode with a unique keybindings. See http://key.saka.io/tutorial/clicking_and_link_hints.
I'm not certain about what ctrl-f does. Are you asking for the ability to use modifier keys to change how a link is opened?
After reading my initial comment I got it a little mixed up. I apologize for that. Yes, allow modifier keys to change where the link will open after f or F has been pressed. Vimfx describes it like this "If you’ve pressed f but realize that you’d rather open a link in a new tab you can hold ctrl while typing the last hint character. "
Essentially you could press f, or whatever key you have set for opening links in the current tab, but decide you want to open the link in a new tab instead so you would then press and hold ctrl and then type the hint and this would open in a new tab instead of the current tab. You would do this instead of canceling then pressing F or whatever your key for new tab is. On Vimfx this works on both f and F so basically by holding ctrl after you press "f" or "F" you do the opposite of what the key you pressed does.
I have f and F switched around on my setup so "f " opens links in a new tab and "F" or "f" and then holding ctrl and typing the hint opens links in current tab. I use "f" and then holding ctrl instead of pressing "F" as I find it more efficient, because I rarely open links in the current tab and my capslock is used as a ctrl key.
I realize this might be a little confusing, I think Im starting to even confuse myself. So for me the sequence works like this.
Or
Somewhat related: VimFx also lets you press alt to toggle between opening tabs in the background or foreground.
Thanks for the clear description. Will make implementing this feature easier.
No, problem. Thanks for making the extension.
would you considering implementing af and ctrl-f from vimfx? https://github.com/akhodakivskiy/VimFx/blob/master/documentation/commands.md#the-hint-commands--hints-mode
af displays hints and keeps them visible allowing you to open multiple links until it is canceled.
ctrl-f allows you to press f to show links and then press ctrl-f to open a link in the current tab instead of a new tab. I think you can do this with shift-f in vimium also.