Boost you linux productivity - Davz33/tutorials GitHub Wiki

Shell handling

Speed and multi-tasking

Editing key-bindings and shortcuts

  • Alt+Backspace Delete from cursor to start of word
  • Alt+d or Esc+d Delete from cursor to end of word

Tmux

Tmux is a tool to manage detachable linux sessions and split windows.

More info... A tmux server will become activate whenever you create the first tmux session. Tmux sessions come with their own, additional, session-bound command line, starting with a `:`. That one becomes available upon pressing `Ctrl+b`.
  • New tmux session: tmux new -s <name>
  • Lis sessions: tmux ls
  • Split panes horizontally: press Ctrl+b, press %
  • Split panes vertically: press Ctrl+b, press "
  • Move to pane: press Ctrl+b, then navigate with arrow keys
  • Kill current pane: press Ctrl+b, press x, press y
  • Display current session's full name: Ctrl+b, :display-message '#S'
  • Enable mouse mode
    • With this, you'll be able to resize panel by sliding your cursor
      touch ~/.tmux.conf && echo "set -g mouse on" >> ~/.tmux.conf && tmux source-file ~/.tmux.conf
    • note: once mouse mode has been set, you need to keep Shift pressed every time you select and copy a text

⚠️ **GitHub.com Fallback** ⚠️