feat(tmux): add keybinds option

This commit is contained in:
Moritz Böhme 2023-04-28 08:11:44 +02:00
parent 56044695df
commit b23382ee8e
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
2 changed files with 39 additions and 2 deletions

View file

@ -64,6 +64,19 @@ in
gpg.enable = true;
navi.enable = true;
tmux.enable = true;
tmux.keybinds = {
prefix = {
"-" = "split-window -v";
"|" = "split-window -h";
"C-l" = "send-keys C-l";
"R" = "source-file $XDG_CONFIG_HOME/tmux/tmux.conf \\; display-message 'Reloaded tmux.conf'";
};
copy-mode-vi = {
"v" = "send -X begin-selection";
"V" = "send -X select-line";
"C-v" = "send -X rectangle-toggle";
};
};
};
};