Skip to content
This repository has been archived by the owner on May 5, 2019. It is now read-only.

Support for vim-like splits? #395

Open
MrKalzu opened this issue Jun 12, 2017 · 1 comment
Open

Support for vim-like splits? #395

MrKalzu opened this issue Jun 12, 2017 · 1 comment

Comments

@MrKalzu
Copy link

MrKalzu commented Jun 12, 2017

Hi!

Is there any plans for implementing Vim style splits (and buffers) ?

Thank you so much for reviving this wonderful browser!

@aidanholm
Copy link
Owner

Hey :)

I'm not sure what you mean by vim-style buffers, or how that concept is different from tabs. If you're referring to the ability to have multiple viewports showing the same web view, that's currently impossible, because GTK only supports a single widget parent.

Splits would be possible, but probably not trivial to implement. You would probably have to keep the notion of a "current" webview per window (w.view). Apart from that, it'd probably be mostly a matter of connecting to the build signal on the window module and adding some binds/modes for widget wrangling. There's a few other assumptions in the Lua code that'd probably need changes.

This isn't something I'd be likely to work on myself, but I'd be happy to merge a self-contained module that implements this (like how tab_favicons.lua is self-contained), and/or any sensible refactorings that facilitate this.

You're welcome, glad you're enjoying it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants