Compare commits

...

4 Commits

  1. 30
      nix-darwin/home.nix

@ -81,7 +81,7 @@
ffmpeg
gnupg
jq
tmux
# tmux
htop
ripgrep
sshfs
@ -250,6 +250,34 @@
};
};
programs.tmux = {
enable = true;
mouse = true;
terminal = "xterm-256color";
shell = "${pkgs.zsh}/bin/zsh";
prefix = "C-s";
keyMode = "vi";
extraConfig = ''
set -g default-command "${pkgs.zsh}/bin/zsh"
# Reload config with prefix + r
unbind r
bind r source-file ~/.config/tmux/tmux.conf
# Vim-like pane navigation
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# Split panes using h and v
unbind '"'
unbind %
bind å split-window -h
bind ä split-window -v
'';
};
programs.neovim = {
enable = true;
viAlias = true;

Loading…
Cancel
Save