Skip to content

Commit

Permalink
2024/07/20-04:03:48
Browse files Browse the repository at this point in the history
  • Loading branch information
1nv0k32 committed Jul 20, 2024
1 parent 542c970 commit 7f498da
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions modules/tmux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@
{
programs.tmux = {
enable = true;
shortcut = "a";
keyMode = "vi";
terminal = "screen-256color";
baseIndex = 1;
escapeTime = 0;
clock24 = true;
historyLimit = 100000;
extraConfig = ''
bind -r C-a send-prefix
bind r source-file /etc/tmux.conf
bind - split-window -v -c '#{pane_current_path}'
bind \\ split-window -h -c '#{pane_current_path}'
Expand All @@ -22,14 +28,9 @@
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe
bind -T copy-mode-vi Enter send-keys -X copy-pipe
set -g base-index 1
set -g mode-keys vi
set -g prefix C-a
set -g history-limit 50000
set -g set-titles on
set -g mouse on
set -g monitor-activity on
set -g default-terminal "screen-256color"
set -g default-command "''${SHELL}"
set -s set-clipboard external
set -g copy-command "${pkgs.wl-clipboard}/bin/wl-copy"
Expand All @@ -44,7 +45,6 @@
set -g status-right-length 100
set -g status-right '#[fg=yellow]%Y/%m(%b)/%d %a %H:%M#[default]'
set -g pane-border-lines double
set -g clock-mode-style 24
set-environment -g COLORTERM "truecolor"
'';
Expand Down

0 comments on commit 7f498da

Please sign in to comment.