1. 38
  1.  

  2. 5

    In case someones interested in a multiplexier, inspired by dwm, there’s this.

    1. 1

      DVTM currently does not support 24bit truecolor (see issue #10. I do like how it splits session management/detaching functionality from multiplexing functionality using abduco, though. I also like how “copy mode” just pipes the buffer to an external program, like a pager or editor. I currently use tmux’s buffer-piping functionality to fuzzy-select URLs with FZF, and to open the buffer in my $EDITOR; once dvtm supports 24bit truecolor, I might actually switch.

      1. 1

        I currently use tmux’s buffer-piping functionality to fuzzy-select URLs with FZF, and to open the buffer in my $EDITOR;

        Can you share how you are doing this? Fuzzy-selecting URLs with FZF sounds awesome!

        1. 1

          All you have to do is pipe the buffer to a program like grep or xurls and pipe that through fzf-tmux. One approach is tmux-fzf-url.

          I use that in combination with tmux-copycat and tmux-hints, one of many different URL-hinting TMUX tools. I use FZF to search for URLS if I know a substring to search for, tmux-copycat if I want to go through URLS sequentially, and tmux-hints to select a URL that I can see but can’t easily navigate to. tmux-copycat is also useful for arbitrary regex searching, but it’s a bit slow.

    2. 3

      Gah, this post sent me down a rabbit-hole and I’m stuck scrolling through GNU screen documentation.

      1. 2

        Fabulous. Would use this in a heartbeat if there was a “tmux layer” -I see you opened an issue to complete that. The only thing that keeps me off i3 is tmux -but the, uhm, non-sane defaults of tmux are unpleasant.

        1. 3

          non-sane defaults

          Do give more details on why you think the defaults aren’t sane

          1. 3

            Scrolling. Use of arrow keys. Copy/pasting. Default keybinds use keys on the edge of the keyboard too often. Little, personal preference things such as those. They’re not horrendous – I avoided the word insane for a reason. Any time I have to add something to my “dotfiles” repository I’m annoyed.

            1. 2

              Scrolling. Use of arrow keys. Copy/pasting. Default keybinds use keys on the edge of the keyboard too often

              You’re describing the “what”, but not the “why”. Scrolling is the what, but why is scrolling non-sane? Using arrow keys is the what, but why is using arrow keys non-sane? Copy/pasting is the what, but why is copy/pasting non-sane?

              Default keybinds use keys on the edge of the keyboard too often

              Same thing, default keybings using keys on the edge of the keyboard is the what, but why is using keys near the edge of the keyboard a non-sane thing?

              I was really hoping for a deeper response…

          2. 2

            Fabulous

            Thank you!

            What would you consider the essential keybindings of tmux? I’m keeping track of my implementation progress here https://github.com/aaronjanse/3mux/issues/1

            1. 1

              For me… anything to do with session/pane/window management on the usual Tmux “cheat sheets” found online. I rock all the defaults found here other than things within the “copy mode”

            2. 1

              Wait, what? How does tmux keep you off i3?

              1. 1

                I have a few competing concerns w/r/t my desktop environments/tiling window managers. I won’t get into all. Being able to glance at multiple terminal things is helpful – something i3 and Tmux both enable while being keyboard driven.

            3. 2

              This is fantastic, I especially like the vterm subpackage! I’ve been meaning to write something similar, and glad I don’t have to now. :)

              I imagine someday making a simpler mosh replacement using something like this.

              1. 1

                This looks really nice. I’ve never settled on a tmux config I’m entirely happy with for moving panes, so I’m going to try this on for a couple of days. Thanks for making and posting it.

                Reading the source a bit, it appears that you’d need to edit alter config.go to customize key bindings. Is this correct? If so, in that regard it might remind me more of dwm than i3 :)

                1. 1

                  Reading the source a bit, it appears that you’d need to edit alter config.go to customize key bindings. Is this correct? If so, in that regard it might remind me more of dwm than i3 :)

                  Ha, true. I plan on implementing proper configuration today or tomorrow. I just opened an issue to track this.