From 6066b1bbe2c1cdaa8b0085a92071c11d64e9abbf Mon Sep 17 00:00:00 2001 From: Akshay Date: Tue, 14 Jun 2022 22:07:53 +0530 Subject: stuff for colemak --- programs/tmux.nix | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'programs/tmux.nix') diff --git a/programs/tmux.nix b/programs/tmux.nix index 5f58108..8679222 100644 --- a/programs/tmux.nix +++ b/programs/tmux.nix @@ -10,10 +10,10 @@ tmuxPlugins.fingers ]; extraConfig = '' - set -g prefix C-a + set -g prefix C-t setw -g mode-keys vi unbind-key C-b - bind-key C-a send-prefix + bind-key C-t send-prefix bind r source-file ~/.config/tmux/tmux.conf @@ -27,19 +27,19 @@ # pane binds bind-key h select-pane -L - bind-key j select-pane -D - bind-key k select-pane -U - bind-key l select-pane -R + bind-key n select-pane -D + bind-key e select-pane -U + bind-key i select-pane -R bind-key -r H resize-pane -L 5 - bind-key -r J resize-pane -D 5 - bind-key -r K resize-pane -U 5 - bind-key -r L resize-pane -R 5 + bind-key -r N resize-pane -D 5 + bind-key -r E resize-pane -U 5 + bind-key -r I resize-pane -R 5 # window binds bind -n M-h previous-window - bind -n M-l next-window - bind-key "|" split-window -h -c "#{pane_current_path}" - bind-key "-" split-window -v -c "#{pane_current_path}" + bind -n M-i next-window + bind-key "{" split-window -h -c "#{pane_current_path}" + bind-key "}" split-window -v -c "#{pane_current_path}" bind-key s choose-session bind-key c new-window -c "#{pane_current_path}" bind-key ) swap-window -t +1 @@ -84,6 +84,7 @@ # status left set -g status-left "#[fg=colour7]#(${pkgs.prompt}/bin/prompt cwd '#{pane_current_path}') " set -ag status-left "#[fg=colour7]#(${pkgs.prompt}/bin/prompt vcs '#{pane_current_path}')" + set status-left-length 50 ''; }; } -- cgit v1.2.3