tmux split stuff

This commit is contained in:
Philipp Hochkamp 2023-01-14 22:37:17 +01:00
parent 2396d6d5cc
commit c2a8bd6db1

View file

@ -1,16 +1,20 @@
{ config, pkgs,...}:{
programs.tmux = {
enable = true;
keyMode = "vi";
clock24 = true;
historyLimit = 10000;
plugins = with pkgs.tmuxPlugins; [
vim-tmux-navigator
gruvbox
];
extraConfig = ''
new-session -s main
bind-key -n C-a send-prefix
'';
};
{ config, pkgs, ... }: {
programs.tmux = {
enable = true;
keyMode = "vi";
clock24 = true;
historyLimit = 10000;
plugins = with pkgs.tmuxPlugins; [
vim-tmux-navigator
gruvbox
];
extraConfig = ''
new-session -s main
bind-key -n C-e send-prefix
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
'';
};
}