mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:30:07 +08:00
1.6 KiB
1.6 KiB
title | description |
---|---|
SpaceVim tmux layer | This layers adds extensive support for tmux |
Available Layers >> tmux
Description
This layer adds integration between tmux and vim panes. Switch between panes seamlessly.colored tmuxline, Syntax highlighting, commenting, man page navigation and ability to execute lines as tmux commands.
Install
To use this configuration layer, update custom configuration file with:
[[layers]]
name = "tmux"
Layer options
tmuxline_separators
: default value is same as SpaceVim optionsstatusline_separator
, available values include:arrow
,curve
,slant
,barce
,fire
,nil
.tmuxline_separators_alt
: default value is same as SpaceVim optionsstatusline_inactive_separator
available values include:arrow
,bar
,nil
.tmux_navigator_modifier
: option for change tmux navigator, default isctrl
Key bindings
Key bindings | Description |
---|---|
Ctrl-h |
Switch to vim/tmux pane in left direction |
Ctrl-j |
Switch to vim/tmux pane in down direction |
Ctrl-k |
Switch to vim/tmux pane in up direction |
Ctrl-l |
Switch to vim/tmux pane in right direction |
To use alt
as the default navigator modifier:
[[layers]]
name = "tmux"
tmux_navigator_modifier = "alt"