3 ms·
Wait, no panes? What about things like diffing two files? There are also plenty of other situations too where I’ve definitely wanted splits in the same client,
by chrismorgan 3y ago
Wait, no panes? What about things like diffing two files? There are also plenty of other situations too where I’ve definitely wanted splits in the same client, so I can see multiple files at once but also copy between them (which requires shared registers), write macros that switch between the panes (which… well, I suppose Kakoune’s composability approach might be able to support such a concept, but I get the impression Helix really wouldn’t), &c.
Wow, https://github.com/helix-editor/helix/issues/405 https://github.com/helix-editor/helix/issues/405, indeed no side-by-side diffing and the approach being suggested would be hopelessly crippled for even two-way diff (let alone three- or four-way diff, which are probably just total non-starters), since it would only support editing one of the documents!
Seriously, my mind is boggling at considering a “you don’t really need it” policy for at least splits. I really do need it: even on my base task load, tmux would be inadequate in painful ways multiple times per month; and I regularly (sometimes daily for weeks, though other times not for months on end) do things for which it would be completely debilitating so that I couldn’t possibly use Helix and would have to go back to Vim.
- pipe_connector 3y agoYou can still use a dedicated diff tool for these situations if they come up regularly. In my experience they are better than vim anyhow.
- riffraff 3y agoVim is not a very good diff tool (e.g. no word diff, tho there's a plugin) but it's good enough for most cases and it's nice to never have to switch the way you work.
- lytedev 3y agoHelix has splits and the issue you linked for side-by-side diffs is still open!
- archseer 3y agoSplits are provided, tabs and terminals aren't. Diff mode is work in progress.
- hyperhopper 3y agoWhat if I need to cut and paste things from one file to another? Registers wouldn't sync I'm guessing, so I'd have to do something hacky with the system clipboard
- vulcan01 3y agoThere are default keybinds for copy/paste to system clipboard, but as the parent said, tabs are a work in progress.
- Symmetry 3y agoThe lack of diff mode has been my biggest hangup in terms to trying helix out seriously. I'll keep an eye out for it to land.