Skip to content

brookisme/tmux-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

setup

pushd ~/
rm -rf .tmux*
git clone https://github.com/brookisme/tmux-setup.git
mv tmux-setup/tmux.conf .tmux.conf
rm -rf tmux-setup/
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
popd

tmux

# start session
tmux
# install plugins
C-q I (shift i)

layouts

Save your layout (see dot-tmux-slash-layout-a for an example) to .tmux/layout_a. Then add

bind S source-file ~/.tmux/layout_a

to your .tmux.conf file.

Now, once inside the tmux session just type ctrl-q Shift-S and you will automatically see your new layout.

Note you will have re-run your conf file: C-q I (shift i).


plugins

prefix + shift + p   toggles-log     
# Resizing panes
prefix + shift + h   resize current pane to the left
prefix + shift + j   resize current pane in the up direction
prefix + shift + k   resize current pane in the down direction
prefix + shift + l   resize current pane to the right


#Splitting panes
prefix + |           split current pane horizontally
prefix + -           split current pane vertically


Swapping windows
prefix + <           moves current window one position to the left
prefix + >           moves current window one position to the right
prefix + y           copies text from the command line to clipboard

Releases

No releases published

Packages

No packages published