« BackYet another tmux cheat sheettmuxai.devSubmitted by alvinunreal 3 days ago
  • Ciantic 2 days ago

    I like this, I would like to add: If you don't use tmux often, then enabling only the mouse support makes it much easier:

       $ cat .tmux.conf
       setw -g mouse on
    
    Now holding the right mouse button brings up the context menu: horizontal split, vertical split, etc. And you can swap, of course, between panes with the mouse.

    This is much easier to remember than the various keyboard shortcuts.

    Copy & pasting, however, can be a bit frustrating. I also use this in my .tmux.conf:

        # Ctrl+b then v to paste from tmux's clipboard
        bind-key -T prefix v paste-buffer -p
    • woleium 21 hours ago

      This really should be the default. Folks who know can easily disable it.

      • alvinunreal 2 days ago

        good suggestion, added mouse tip, tnx

      • undefined 2 days ago
        [deleted]