notes/tmux.md

45 lines
1.1 KiB
Markdown
Raw Normal View History

2020-01-12 21:28:28 -05:00
`Ctlr+B` activiates command entry (called the prefix)
panes
----------------------------------
% = split pane right
" = split pane below
<Up>/<Left> = switch panes
z = maximize/minimize pane
x = kill pane
Ctrl+B+<Arrow> = resize
windows
----------------------------------
c = create new window
w = create window selection prompt
2022-04-07 13:00:50 -04:00
prefix + , = rename window
2020-01-12 21:28:28 -05:00
sessions
----------------------------------
d = detach session
tmux ls = list sesions
tmux attach -t 0 = attach to session 0
2020-04-30 21:53:00 -04:00
colors
----------------------------------
setup a `.tmux.conf` file with this line `set -g default-terminal 'screen-256color'`
point tmux to it with `tmux source-file ~/.tmux.conf`
2020-01-12 21:28:28 -05:00
2020-04-30 21:53:00 -04:00
fonts
----------------------------------
powerline fonts
https://github.com/vim-airline/vim-airline
https://github.com/powerline/fonts
2020-12-04 21:14:43 -05:00
sudo apt-get install fonts-powerline
plugins
----------------------------------
using tmux plugin manager to install tmux-resurrect
plugin manager: https://github.com/tmux-plugins/tpm
resurrect: https://github.com/tmux-plugins/tmux-resurrect