stuff?
This commit is contained in:
parent
6869c2acbd
commit
3bfebb286d
14 changed files with 235 additions and 34 deletions
31
home-manager/luna/categories/cli/tmux.nix
Normal file
31
home-manager/luna/categories/cli/tmux.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{pkgs, ...}: {
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
prefix = "C-Space";
|
||||
baseIndex = 1;
|
||||
newSession = true;
|
||||
|
||||
mouse = true;
|
||||
clock24 = true;
|
||||
escapeTime = 0;
|
||||
shell = "${pkgs.zsh} /bin/zsh";
|
||||
|
||||
plugins = with pkgs; [
|
||||
tmuxPlugins.yank
|
||||
tmuxPlugins.sensible
|
||||
tmuxPlugins.catppuccin
|
||||
];
|
||||
|
||||
extraConfig = ''
|
||||
# set true color
|
||||
set-option -sa terminal-overrides ",xterm*:Tc"
|
||||
|
||||
# open panes in current directory
|
||||
bind '"' split-window -v -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
|
||||
# easy reloads
|
||||
bind M-r source-file ~/.config/tmux/tmux.conf
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue