Boost you linux productivity - Davz33/tutorials GitHub Wiki
-
Alt+Backspace
Delete from cursor to start of word -
Alt+d
orEsc+d
Delete from cursor to end of word
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
, pressx
, pressy
- 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
- With this, you'll be able to resize panel by sliding your cursor