diff --git a/modules/home/tmux/default.nix b/modules/home/tmux/default.nix index dc7fed1..ca99fdc 100644 --- a/modules/home/tmux/default.nix +++ b/modules/home/tmux/default.nix @@ -81,6 +81,13 @@ in ]; extraConfig = '' + # Refresh configuration + bind-key -N "Source tmux.conf" R source-file ${config.xdg.configHome}/tmux/tmux.conf \; display-message "Sourced tmux.conf!" + + # Accept sloppy Ctrl key when switching windows, on top of default mapping + bind-key -N "Select the previous window" C-p previous-window + bind-key -N "Select the next window" C-n next -window + # Better vim mode bind-key -T copy-mode-vi 'v' send -X begin-selection ${ diff --git a/modules/home/xdg/default.nix b/modules/home/xdg/default.nix index 270200e..803167f 100644 --- a/modules/home/xdg/default.nix +++ b/modules/home/xdg/default.nix @@ -30,11 +30,10 @@ in }; # A tidy home is a tidy mind dataFile = { - "bash/.keep".text = ""; - "gdb/.keep".text = ""; - "tig/.keep".text = ""; + "tig/.keep".text = ""; # `tig` uses `XDG_DATA_HOME` specifically... }; stateFile = { + "bash/.keep".text = ""; "python/.keep".text = ""; }; };